leetle

Daily challenge for 2025-05-09

129. Jewels and Stones

Write a function solve that counts how many stones are jewels, given strings of jewel types and stones.

Example:
Input: jewels="aA", stones="aAAbbbb"
Output: 3

Run this challenge interactively in Python or JavaScript when the app loads.