← Microsoft questions
CodingEasyReported in a candidate post, Jul 2021

Maximum distance between jumping frogs

Filed under Microsoft

Given an array `blocks` of positive integers representing heights, two frogs start at the same block. One frog can jump left to adjacent blocks of equal or greater height, and the other can jump right…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Microsoft questions

Collected from public candidate posts and coding forums. Updated Nov 2026.