FrogRiverOne
-
FlogRiverOne 알고리즘Algorithm 2021. 7. 18. 10:45
아래 문제는 코딜리티에서 제공하는 FlogRiverOne의 문제입니다🧑🏻💻 문제 제시 A small frog wants to get to the other side of a river. The frog is initially located on one bank of the river (position 0) and wants to get to the opposite bank (position X+1). Leaves fall from a tree onto the surface of the river. You are given an array A consisting of N integers representing the falling leaves. A[K] represents the position wher..