➽ Problem:-
https://www.hackerrank.com/challenges/birthday-cake-candles/problem
➽ Solution:-
import math
import os
import
random
import re
import sys
N =
int(input())
arr =
list(map(int, input().split()))
print(arr.count(max(arr)))
➽ Problem:-
https://www.hackerrank.com/challenges/birthday-cake-candles/problem
➽ Solution:-
import math
import os
import
random
import re
import sys
N =
int(input())
arr =
list(map(int, input().split()))
print(arr.count(max(arr)))
Copyright (c) 2021 | Coding Plaza | All Rights Reserved
0 Comments
Please do not enter any spam link in the comment section.