Q1.0-1 Knapsack Problem A thief is robbing a store and can carry a maximal weight of W into his knapsack. There are N items and the ith item we... read more
Q3.First Repeated Character You are given a string 'STR' of lowercase English alphabets. You need to find the repeated character present first ... read more