328. Odd Even Linked List
Notes:
Always check infinite loop: if we using a while(cur) loop to link cur to cur.next.next and put cur.next to tail (update tail with tail.next), the infinite loop is promised (if not utilize counting inside the loop).
Always check Control Flow colon
Always check conditional ==, don't just leave = there.
Last updated