Solving Jewels and Stones in go. Please try yourself first to solve the problem and submit your implementation to LeetCode before looking into solution.

Problem Description

Example 1:

Input: J = "aA", S = "aAAbbbb"
Output: 3

Example 2:

Input: J = "z", S = "ZZ"
Output: 0

Note:

See the full details of the problem Jewels and Stones at LeetCode

Originally posted at: @github.com/halfrost/LeetCode-Go