Software Engineer · Mid-Level · Phone Screen
I was given a circular array `arr`, where `arr[i]` represents the number of steps I can jump left or right. Given a `from` and `to` index, I needed to find the shortest jump to get from the `from` index to the `to` index. I recognized this as a shortest path p...