This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Solution: | |
def numRabbits(self, answers) : | |
#lol its code is damn easy | |
from collections import Counter | |
import math | |
arr=Counter(answers) | |
tc=0 | |
for key,value in arr.items(): |