Learn
Practice
Newsletter
Resources
Mobile
New
F
Toggle theme
0
F
0
Toggle menu
Animations
← Back to All Animations
3Sum
Bookmark
Input
Example 1
Example 2
Example 3
No solution
Custom
nums
=
[-1, 0, 1, 2, -1, -4]
0
1
2
3
4
5
-4
-1
-1
0
1
2
0
1
2
3
4
5
-4
-1
-1
0
1
2
0
1
2
3
4
5
-4
-1
-1
0
1
2
i
left
right
0
1
2
3
4
5
-4
-1
-1
0
1
2
i
left
right
0
1
2
3
4
5
-4
-1
-1
0
1
2
i
left
right
0
1
2
3
4
5
-4
-1
-1
0
1
2
i
0
1
2
3
4
5
-4
-1
-1
0
1
2
i
left
right
0
1
2
3
4
5
-4
-1
-1
0
1
2
i
left
right
0
1
2
3
4
5
-4
-1
-1
0
1
2
i
0
1
2
3
4
5
-4
-1
-1
0
1
2
i
left
right
0
1
2
3
4
5
-4
-1
-1
0
1
2
algo
master
.
io
Step:
Start of algorithm (array is sorted)
0 / 24
Input
Example 1
Example 2
Example 3
No solution
Custom
nums
=
[-1, 0, 1, 2, -1, -4]
0 / 24
algo
master
.
io
Step:
Start of algorithm (array is sorted)