AlgoMaster Logo

Merge In Between Linked Lists

list1=[1, 2, 3, 4, 5, 6],list2=[7, 8, 9],a=3,b=4
0 / 18
algomaster.io
Step:Start: collect both lists into arrays, pick the surviving nodes, then relink