โ† MakeMyTrip questions

Most repeated element in repeated array slice

Filed under MakeMyTrip

The question

Given an array of integers, an integer K, and indices L and R, find the element that is most frequently repeated between indices L and R when the array is conceptually repeated K-1 times.

No write-up yet. Related questions below have one.

Related MakeMyTrip questions

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