Q1.All prime numbers Given an integer N, print all the prime numbers that lie in the range 2 to N (both inclusive). Print the prime numbers in ... read more
Q2.Print Permutations Given an input string (STR), print all possible permutations of the input string. Note: The input string may contain the ... read more
Q3.Longest Consecutive Sequence You are given an unsorted array/list 'ARR' of 'N' integers. Your task is to return the length of the longest co... read more