Count the stones whose type is a jewel, with case-sensitive matching
Company: Adobe
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: easy
Interview Round: Other
Overview: Given a string of jewel types and a string of stones you hold, count how many of the stones are jewels, with uppercase and lowercase letters treated as different types. The problem tests fast membership checks, linear-time counting over a string, and careful handling of case-sensitive comparisons.