All Puzzles
-
There is number line ranging from -infinity to +infinity. Initially you are number 0. you can move in both directions(Moving left would decrease the number and moving right would increase the number). The condition is that in the ith step you have to iterate i numbers only, you can not stop in the middle. Now you have to tell that, whether a given number is reachable or not.
For example you can reach number 2 in following steps (0,1), (1,-1), (-1,2).
Also you need to provide the optimal solution to reach a given number if its reachable.
View SolutionSubmit Solution- 1,323.9K views
- 1 answers
- 0 votes
-
Eskimos are very good hunters, but they never hunt penguins.
Why not?
View SolutionSubmit Solution- 1,329.6K views
- 2 answers
- 0 votes