Frog Jump at Squarepoint Capital
Hard47.1% acceptance
This problem has 75.0% frequency at Squarepoint Capital.
Problem Description
A frog is crossing a river. The river is divided into some number of units, and at each unit, there may or may not exist a stone. The frog can jump on a stone, but it must not jump into the water. Given a list of `stones` positions (in units) in sorted **ascending order** , determine if the frog ca...
Read full problem and hintsTopics
Also asked at 8 companies
More Squarepoint Capital Questions
Search Suggestions SystemMediumBest Time to Buy and Sell StockEasySubarray Product Less Than KMediumMaximum SubarrayMediumLongest Increasing SubsequenceMedium
View all Squarepoint Capital questions