@GregHogg

Crack big tech at algomap.io!

@saturnYTper

you can actually just do set(jewels) because strings are iterable

@Tsunami14

So "hashmap" is the answer to all problems.  That's the message I'm getting from these shorts.

@SalmanZaidi-j1s

one liner: sum(s in set(jewels) for s in stones)

@alexobzor

I think the pattern here is to use hash map whenever we solving searching problems. Some data must be indexed in order to get O(1) while searching.
Correct me if i said bullshit :)

@gomeztorricellygomez7808

No it's different bcoz they can't accept duplicates,whereas hashmaps can

@ImCrackLord

Great help

@Shivappa-t7m

Bro see constraints : they already mentioned "all the characters of jewels are unique .

@DontGetTheL

for me, thats not a mistake, thats an inefficient solution.