Q1.Colorful Knapsack You are given 'N' stones labeled from 1 to 'N'. The 'i-th' stone has the weight W[i]. There are 'M' colors labeled by inte... read more
Q2.Valid Parentheses You're given string ‘STR’ consisting solely of “{“, “}”, “(“, “)”, “[“ and “]” . Determine whether the parentheses are bal... read more
Q3.Concatenate the largest digit You are given three non-zero numbers ‘A’, ‘B’, and ‘C’. The task is to find the number formed by concatenating... read more