Frog jump in swift || How to find min energy required ?
[Question] Find minimum total energy used by frog to reach from 1st stair to nth stair. He can jump from i+1 or i+2 stair.
Frog jump in swift || How to find min energy required ? Read More »
[Question] Find minimum total energy used by frog to reach from 1st stair to nth stair. He can jump from i+1 or i+2 stair.
Frog jump in swift || How to find min energy required ? Read More »