# 力扣796. 旋转字符串


## 力扣796. Rotate String（旋转字符串）

判断 s 旋转后能否等于 goal。

示例 1：

![](../posts/01_学习/87_LeetCode/0796_旋转字符串/img/0796-1-description.png)

```
输入：s = "abcde", goal = "cdeab"
输出：true
解释：...
```

提示：
- ...

