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.Check if a linked list is palindrome You are given a singly Linked List of integers. Your task is to return true if the given singly linked ... read more
Q3.Valid Parentheses You're given string ‘STR’ consisting solely of “{“, “}”, “(“, “)”, “[“ and “]” . Determine whether the parentheses are bal... read more