# 力扣657. 机器人能否返回原点


## 力扣657. Robot Return to Origin（机器人能否返回原点）

判断机器人移动后是否回到原点。

示例 1：

![](../posts/01_学习/87_LeetCode/0657_机器人能否返回原点/img/0657-1-description.png)

```
输入：moves = "UD"
输出：true
```

提示：
- 1 <= moves.length <= 2 * 10^4
- moves 只包含字符 'U', 'D', 'L', 'R'

