《劍指Offer》50. 第一個只出現一次的字符位置

題目連接 牛客網java 題目描述 在一個字符串中找到第一個只出現一次的字符,並返回它的位置。git Input: abacc Output: b 解題思路 public class Solution { public int FirstNotRepeatingChar(String str) { if (str==null || str.length()==0) retu
相關文章
相關標籤/搜索