Back to Browse

Birthday Cake Candles - Hackerrank Solution in Java | Zoho Coding Question Hackerrank in Tamil

290 views
Sep 25, 2022
3:31

You are in charge of the cake for a child's birthday. You have decided the cake will have one candle for each year of their total age. They will only be able to blow out the tallest of the candles. Count how many candles are tallest. Example: Candles: [4, 4, 1, 3] The maximum height candles are 4 units high. There are 2 of them, so return 2. Problem Link: https://www.hackerrank.com/challenges/birthday-cake-candles/problem

Download

0 formats

No download links available.

Birthday Cake Candles - Hackerrank Solution in Java | Zoho Coding Question Hackerrank in Tamil | NatokHD