//url:https://leetcode.com/problems/judge-route-circle/description/
class Solution {
public:
bool judgeCircle(string moves) {
int x=0;
int y=0;
for(int i=0;i
- 本文作者: royalchen
- 本文链接: http://www.royalchen.com/2018/07/20/leetcode-657-judge-route-circle/
- 版权声明: 本博客所有文章除特别声明外,均采用 MIT 许可协议。转载请注明出处!