We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Algorithms
- Warmup
- Birthday Cake Candles
- Discussions
Birthday Cake Candles
Birthday Cake Candles
Sort by
recency
|
5111 Discussions
|
Please Login in order to post a comment
My Solution.
Python
def birthdayCakeCandles(candles): # Write your code here return candles.count(max(candles))
python
public static int birthdayCakeCandles(List candles) {
int max=candles.get(0); for(int i=0;i
}