Merge two sorted arrays with O(1) extra space
Merge two sorted arrays with O(1) extra space is simple if you keep it on paper. Priya uses it for names A→Z in the roll list.
Keep Merge two sorted arrays with O(1) extra space small. Priya should finish names A→Z in a few lines, not a 40-line dump.
Skip Merge two sorted arrays with O(1) extra space and unstable sort when equal keys matter shows up in the roll list.
Priya ships Merge two sorted arrays with O(1) extra space in the roll list. That is the use case worth saying.
If names A→Z breaks under Merge two sorted arrays with O(1) extra space, check unstable sort when equal keys matter first.
Merge two sorted arrays with O(1) extra space is not a lonely heading. Priya ties it to names A→Z.
Viva for Merge two sorted arrays with O(1) extra space: what it is → n log n vs n² → the mistake (unstable sort when equal keys matter).
For Merge two sorted arrays with O(1) extra space: definition + the roll list + one failure.