Learn
Practice
Newsletter
Resources
F
Toggle theme
0
F
Toggle theme
0
Toggle menu
← Back to All Animations
Max Value of Equation
Bookmark
Input
Example 1
Example 2
Example 3
Custom
points
=
[[1,3],[2,0],[5,10],[6,-10]]
,
k
=
1
points
[1,3]
[2,0]
[5,10]
[6,-10]
deque (value,x)
maxValue:
-∞
algo
master
.
io
Step:
Start of algorithm
0 / 20
Input
Example 1
Example 2
Example 3
Custom
points
=
[[1,3],[2,0],[5,10],[6,-10]]
,
k
=
1
0 / 20
points
[1,3]
[2,0]
[5,10]
[6,-10]
deque (value,x)
maxValue:
-∞
algo
master
.
io
Step:
Start of algorithm