AKUR8 interview question

Coding question related to merging lists