441
-
[LeetCode] 441. Arranging CoinsLeetCode 2021. 11. 5. 13:53
https://leetcode.com/problems/arranging-coins/ Arranging Coins - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com Arranging Coins - Easy 주어진 동전을 1,2,3,4,... 이렇게 계단식으로 쌓아내려갈때 꽉 채워진 층수를 구하는 문제이다. 그림만 보고 이해를 잘못하여 위에서부터가 아닌 왼쪽부터 채워지는 줄 알고 삽질을 좀 했다.. 1,2,3,4,... 이런식으로 동전이 쌓인다면, k층 까지 쌓인 ..