Hackerrank 레벨업하기 문제 Equalize the Array
def equalizeArray(arr): t = list(set(arr)) z = [] for i in t: z.append(arr.count(i)) z.sort() return sum(z[:-1])
궁금하신게 있다면 메일 주세요. k2h7913@daum.net cafehero123@gmail.com
Copyright © All rights reserved | This template is made with by Colorlib