Shortest Jumps in a Circular Array (Exact Left/Right Jumps)

Asked at Uber · Coding & Leetcode-style Questions · Difficulty: Medium

You are given a circular array `arr` of length `n` (indices `0..n-1`).

Loading the problem…