86. Partition List
Problem Statement
Input: head = [1,4,3,2,5,2], x = 3
Output: [1,2,2,4,3,5]Input: head = [2,1], x = 2
Output: [1,2]Intuition
Links
Video Links
Approach 1:
Approach 2:
Approach 3:
Approach 4:
Similar Problems
Last updated
