MCPcopy Create free account
hub / github.com/algorithm004-01/algorithm004-01 / rotate3

Function rotate3

Week 01/id_716/LeetCode_189_716.go:38–45  ·  view source on GitHub ↗

3. 反转 反转整个字符串,然后反转前k个,再反转后n-k个

(nums []int, k int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

reverseFunction · 0.70

Tested by

no test coverage detected