You are viewing a single comment's thread. Return to all comments →
They are just asking the count of candles blow off by birthday guy.
Only heighted candles can be blow off , so we just need to find the count of heighted candles from array.
a) Sort the array in ascending order , so you will have the sorted array with high values as last
b) Get the last value in array and find out the count with that value.