Learn
Practice
Interview
Resources
Newsletter
F
Toggle theme
0
F
0
Toggle menu
Animations
← Back to All Animations
Odd Even Linked List
Bookmark
Collect into Array
In-Place
Input
List 1
List 2
List 3
Custom
values
=
[1, 2, 3, 4, 5]
1
2
3
4
5
head
1
2
3
4
5
head
1
2
3
4
5
head
curr
1
2
3
4
5
head
curr
1
2
3
4
5
head
curr
1
2
3
4
5
head
curr
1
2
3
4
5
head
1
2
3
4
5
head
1
2
3
4
5
head
curr
1
3
5
4
5
head
curr
1
3
5
2
4
head
algo
master
.
io
Step:
Start: copy the values out, reorder them, then write them back
0 / 23
Input
List 1
List 2
List 3
Custom
values
=
[1, 2, 3, 4, 5]
0 / 23
algo
master
.
io
Step:
Start: copy the values out, reorder them, then write them back