Hackerrank – Kangaroo
Hackerrank – Problem Statement A description of the problem can be found on Hackerrank. Solution There are two checks: I checked if is less then and immediatelly print “NO”. That means, kangaroo 1 would be never able to reach kangaroo 2. I calculated differences between kangaroo positions and their […]