Skip to content

Instantly share code, notes, and snippets.

View Rhriti's full-sized avatar
🍺
chilling

HritijR Rhriti

🍺
chilling
  • NSUT,Delhi
View GitHub Profile
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():