You are given the head of a linked list, which contains a series of integers separated by 0's. The beginning and end of the linked list will have 0's. For every two consecutive 0's, merge all the…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.