Skip to main content

2 docs tagged with "linked-list"

View all tags

Add Two Numbers II

Given two linked lists that represent two numbers, return the sum of the numbers also represented as a list.

Odd Even Linked 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.