力扣

代码

func reverseLeftWords(s string, n int) string {
    return  s[n:] + s[:n]
}
最后修改:2022 年 03 月 03 日
如果觉得我的文章对你有用,请随意赞赏