[Hacker Rank] Birthday Cake Candles (Javascript)
Difficulty Easy Language Javascript Problem (문제) You are in charge of the cake for your niece's birthday and have decided the cake will have one candle for each year of her total age. When she blows out the candles, she’ll only be able to blow out the tallest ones. Your task is to find out how many candles she can successfully blow out. 당신은 당신의 조카 생일을 위해 케이크를 담당하고 있으며 케이크는 그녀의 연령만큼 양초를 가질 것이라고 결..
Algorithms/Hacker Rank
2020. 12. 2. 09:51