标签:ons one har class etc style contains info src
Notes:
1 public int numJewelsInStones(String J, String S) { 2 int num = 0; 3 for (int i = 0; i < S.length(); i++) { 4 if (J.contains(S.charAt(i) + "")) 5 num++; 6 } 7 return num; 8 }
LeetCode-771 Jewels and Stones Solution with Java
标签:ons one har class etc style contains info src
原文地址:https://www.cnblogs.com/sheepcore/p/12394816.html