Hackerrank – Birthday Cake Candles

Hackerrank – Problem Statement

A description of the problem can be found on Hackerrank.

Solution

We find the highest candles. Then we find count of candles with max height.

I created solution in:

All solutions are also available on my GitHub profile.

Scala

Java

Javascript

Leave a Reply

Your email address will not be published. Required fields are marked *