c++11: all_of 、 any_of 和 none_of

242. 有效的字母异位词 ```cpp class Solution { public: bool isAnagram(string s, string t) { if(s.size()!=t.size()) return false; int ans[26]={0}; for(auto& ch:
posted @ 2023-05-30 11:22  冰糖人  阅读(90)  评论(0编辑  收藏  举报