《剑指Offer》50. 第一个只出现一次的字符位置

题目连接 牛客网java 题目描述 在一个字符串中找到第一个只出现一次的字符,并返回它的位置。git Input: abacc Output: b 解题思路 public class Solution { public int FirstNotRepeatingChar(String str) { if (str==null || str.length()==0) retu
相关文章
相关标签/搜索