Q1.Aggressive Cows Given an array of length ‘N’, where each element denotes the position of a stall. Now you have ‘N’ stalls and an integer ‘K’... read more
Q2.Count Set Bits You are given a positive integer ‘N’. Your task is to find the total number of ‘1’ in the binary representation of all the nu... read more
Q3.Reverse Words In A String You are given a string of length N. You need to reverse the string word by word. There can be multiple spaces betw... read more