MCPcopy Create free account
hub / github.com/Reaper622/DataStructure-Algorithm-TS / RotateRight

Function RotateRight

DataStructure/LinkList/RotateRight.js:10–37  ·  view source on GitHub ↗

* 给定一个链表,旋转链表,将链表每个节点向右移动 k 个位置,其中 k 是非负数。 * * @param {ListNode} head * @param {number} k * @return {ListNode}

(head, k)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected