A child is running up a staircase with n steps and can hop either 1 step, 2 steps, or 3 steps at a time. Implement a method to count...
A man is doing an experiment with the device that he built newly. The structure of the device is as below diagram. B to E is a sloping surface...
Race is generally organized by distance but this race will be organized by time. In order to predict the winner we will check every 2 seconds. Let’s say total...
We know about number systems. The Roman Numerals and the alternative “place value system” with a given base. For the purpose of this problem, we limit ourself to :...
The problem solvers have found a new Island for coding and named it as Philaland.These smart people were given a task to make purchase of items at the Island...
Find minimum number of coins required to form any value between 1 to N, both inclusive. Cumulative value of coins should not exceed N. Coin denominations are 1 Rupee,...
You are moving to a new apartment and want to plan your total lighting cost for the next 2 years which includes the cost of bulb procurement and cost...
Dr. Vishnu is opening a new world class hospital in a small town designed to be the first preference of the patients in the city. Hospital has N rooms...
Infinity War is Over. Thanos has successfully collected all the Infinity Stones and wiped out half the population of the universe. Now the world depends on the remaining Avengers...
Check comments for solution and approach. N monkeys are invited to a party where they start dancing. They dance in a circular formation, very similar to a Gujarati Garba...
