Home Manual Reference Source

References

summary
public

F rotateLeft(a: {[x: number]}, i: number, j: number, k: number)

Rotate array values k places to the left in-place in time O(j-i).

public

F rotateRight(a: {[x: number]}, i: number, j: number, k: number)

Rotate array values k places to the right in-place in time O(j-i).