Q1.Compress the String Ninja has been given a program to do basic string compression. For a character that is consecutively repeated more than ... read more
Q2.Frog Jump There is a frog on the 1st step of an N stairs long staircase. The frog wants to reach the Nth stair. HEIGHT[i] is the height of t... read more
Q3.Palindromic Substrings You have been given a string STR. Your task is to find the total number of palindromic substrings of STR. Example : I... read more