Learn
Practice
Newsletter
Resources
F
Toggle theme
0
F
Toggle theme
0
Toggle menu
← Back to All Animations
Final Prices With a Special Discount in a Shop
Bookmark
Input
Input 1
Input 2
Input 3
Custom
prices
=
[8, 4, 6, 2, 3]
0
8
1
4
2
6
3
2
4
3
prices
result
stack
algo
master
.
io
Step:
Start of algorithm
Variable
Value
prices
Array(5) [8, 4, 6...]
Variable
Value
0 / 18
Input
Input 1
Input 2
Input 3
Custom
prices
=
[8, 4, 6, 2, 3]
0 / 18
0
8
1
4
2
6
3
2
4
3
prices
result
stack
algo
master
.
io
Step:
Start of algorithm
Visualization
Variables