xamples
epeat
ode
pproach
ptimize
est
Given:
Return:
Assumptions:
What is the purpose of adding and subtracting 1 on line 7?
https://repl.it/KJbI/3