Q1.Find Nth Prime You are given a number 'N'. Your task is to find Nth prime number. A prime number is a number greater than 1 that is not a pr... read more
Q2.Compress the String Write a program to do basic string compression. For a character which is consecutively repeated more than once, replace ... read more
Q3.Implement next_permutation function. You have been given a permutation of ‘N’ integers. A sequence of ‘N’ integers is called a permutation i... read more