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

Problem Description

task is to determine which cat will reach the mouse first, assuming the mouse doesn't move and the cats travel at equal speed. If the cats arrive at the same time, the mouse will be allowed to move an ....

You can find the full details of the problem Cats and a Mouse at HackerRank

Solution: Please check the snippet for the solution.

Solution originally posted at: Github by @marinskiy