2024每日刷题(127)
LeetCode—387. 字符串中的第一个唯一字符
实现代码
class Solution { public: int firstUniqChar(string s) { int count[26] = {0}; for(char c: s) { ++count[c - 'a']; } for(int i = 0; i运行结果
之后我会持续更新,如果喜欢我的文章,请记得一键三连哦,点赞关注收藏,你的每一个赞每一份关注每一次收藏都将是我前进路上的无限动力 !!!↖(▔▽▔)↗感谢支持!