โ† Yatra.com questions

Merge Arrays

Filed under Yatra.com

The question

Given two arrays of size n+m (with m elements) and n, design an algorithm to shift the smaller array into the larger one while keeping it sorted.

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

Related Yatra.com questions

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