LeetCode Solutions/Hash Table/Jewels and Stones/Jewels and Stones.java
<filename>LeetCode Solutions/Hash Table/Jewels and Stones/Jewels and Stones.javaclass Solution {
    public int numJewelsInStones(String J, String S) {
        int result = 0;
        for (int i=0; i<S.length(); i++){
            if (J.indexOf(S.charAt(i)) != -1){
                result++;
            }
        }
        return result;
    }
}