Swap Nodes in Pairs (LeetCode 24)
The problem You get the of a linked list. Swap every two adjacent nodes and…
Tag
6 posts
The problem You get the of a linked list. Swap every two adjacent nodes and…
The problem You get the of a linked list and a positive integer . Reverse the…
The problem You get the of a linked list and two 1-indexed positions . Reverse…
The problem You get the of a linked list sorted in ascending order. Remove…
The problem You get the heads of two linked lists, each already sorted in non…
The problem Two non-negative integers are stored as linked lists, one digit per…