Chef and Bird farm In Chefland, each chicken has X legs and each duck has Y legs. Chef's farm can have exactly one type of bird. Given that…
Read morePseudo Sorted Array An array A of length N is said to be pseudo-sorted if it can be made non-decreasing after performing the following operation …
Read moreFind the substring Given s and x , determine the zero-based index of the first occurrence of x in s String s consists of lowercase letters in the ra…
Read moreTeam RCB has earned XX points in the games it has played so far in this year's IPL. To qualify for the playoffs they must earn at least a total of Y…
Read moreYou and your friend are at mobile exhibition held in your city . There are 26 companies presenting their mobiles at different stalls. Each company will …
Read more