Add Two Numbers II
Given two linked lists that represent two numbers, return the sum of the numbers also represented as a list.
Given two linked lists that represent two numbers, return the sum of the numbers also represented as a list.
This question is asked by Facebook. Given a singly linked list, re-order and group its nodes in such a way that the nodes in odd positions come first and the nodes in even positions come last.