Skip to content

Latest commit

 

History

History
16 lines (9 loc) · 377 Bytes

File metadata and controls

16 lines (9 loc) · 377 Bytes

Challenge Summary

create a function to compine 2 linked lists in one linked list reciprocally

Whiteboard Process

image

Approach & Efficiency

  • time: O(n)
  • space O(n)

API

  • zipLists: Zip the two linked lists together into one so that the nodes alternate between the two lists and return a reference to the head of the zipped list.