akshitagit / JAVA

Repository for Java codes and algos.Star the repo too.
https://github.com/akshitagupta15june
MIT License
91 stars 127 forks source link

Birthday Cake Candles Problem #160

Closed debasish-123 closed 4 years ago

debasish-123 commented 4 years ago
  1. We are given in charge of the cake for a child's birthday.
  2. Here the the cake will have one candle for each year of their total age.
  3. They will only be able to blow out the tallest of the candles.
  4. We have to count how many candles are tallest.
  5. Here we have to take the candles in an array of size n