index

PythonF

Integers – Equal to Index

The program must accept N integers and print the integers which are equal to their index value as the output. If there is no such integer, the…
JavaF

Find Palindrome and its index

A String is given S, we have to find the palindrome in that and print the starting and ending index. Example I/O: Example I/O: Sample Input 1:…