Q1.Maximum Subarray Sum You are given an array (ARR) of length N, consisting of integers. You have to find the sum of the subarray (including e... read more
Q2.Zig Zag Traversal You have been given a Binary Tree of 'N' nodes, where the nodes have integer values. Your task is to print the zigzag trav... read more
Q3.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