数据结构与算法:leetcode_657_Judge Route Circle

Description Initially, there is a Robot at position (0, 0). Given a sequence of its moves, judge if this robot makes a circle, which means it moves back to the original place.web The move sequence is
相关文章
相关标签/搜索