Jewels and Stones — Interactive Visualizer

Store all jewels in a Set, then verify each stone with O(1) time complexity.