Raman is a former. He wants to buy some pipes of distinct sizes . There were N pipes in the shop and some of them are of same size. The size of the pipe h…
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 moreA Real Estate builder needs to construct a studio apartment. He wants the area of apartments to be a perfect square. To ensure this, he randomly selecte…
Read moreAn Online English grammar tutorial for kids has designed an assignment for its students . In the assessment a word will be displayed on the screen and the…
Read morePeters Number Imagine there is a person who likes numbers a lot and wants to choose a number that consists of n digits.But it has to be special. T…
Read moreConsider a non-empty array of positive integers inarr. Identify and print outarr based on the below logic: For each element in inarr, starting from the …
Read moreNth character in Decrypted String Every character in the input string is followed by its frequency. Write a function to decrypt the string and f…
Read moreA Company has launched a new test editor that allows users to enter English letters numbers, and whitespaces only. If as user attempts to enter any othe…
Read more