Leetcode 771. Jewels and Stones
Count how many characters in the string stones are also listed in the string jewels (caseāsensitive). The core task is efficient membership testingātreat jewels as a set of unique types and tally matching characters in stones.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
0
Hello Interview Premium
Your account is free and you can post anonymously if you choose.