Python C++使用字串find迴圈速解Leetcode 2490 Circular Sentence
C++ & Python都有字串的find,用法都類似
split=s.find(' ', split+1)能找到s從index=split+1開始出現' '的第一個的index
-----
C++ & Python both have string find, and their usage is similar.
split=s.find(' ', split+1) can find the first index where ' ' appears in s starting from index=split+1
[codes on Leetcode]https://leetcode.com/problems/circula...
[Leetcode Playlist] • C++ UnionFind BFS DFS解圖論問題Leetcode 1971 F...