Skip to content

Instantly share code, notes, and snippets.

View Rhriti's full-sized avatar
🌴
On vacation

HritijR Rhriti

🌴
On vacation
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():