Q1.Find prime numbers You are given a positive integer ‘N’. Your task is to print all prime numbers less than or equal to N. Note: A prime numb... read more
Q2.Longest Harmonious Subsequence You are given an array ‘ARR’ of 'N' integers. Your task is to find the longest harmonious subsequence of this... read more
Q3.Sum of squares of first N natural numbers You are given an integer 'N'. You need to find the sum of squares of the first 'N' natural numbers... read more