Step by step
5 steps
Step 1
set the stack
1
2
3
4
5
6
7
1
2
3
4
5
6
7
Step 2
7 goes deep
1
2
3
4
5
6
7
1
2
3
4
5
6
7
Step 3
7 comes under 6 continues
1
2
3
4
5
6
7
1
2
3
4
5
6
7
Step 4
throw continue
1
2
3
4
5
6
7
1
2
3
4
5
6
7
Step 5
1
2
3
4
5
6
7
1
2
3
4
5
6
7