โ† Myntra questions
CodingReported in a candidate post, Aug 2024

Caterpillars eating leaves on a number line

Filed under Myntra

The question

Given n leaves numbered 1 to n and k caterpillars with different jump numbers, calculate the number of leaves uneaten at the end.

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

Related Myntra questions

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