Kangaroo, is a HackerRank problem from Implementation subdomain. In this post we will see how we can solve this challenge in Python

Problem Description

Number Line Jumps You are choreographing a circus show with various animals. For one act, you are given two kangaroos on a number line

ready to jump in the positive direction (i.e, toward positive in ....

You can find the full details of the problem Kangaroo at HackerRank

Solution: Please check the solution.py snippet for the solution.

Solution originally posted at: Github by @marinskiy