chickadee » rope » rope-reverse

rope-reverse ropeprocedure

Constructs a new rope consisting of the characters in the given rope, reversed. This operation is expensive for large ropes (O(n) in the length of the rope, best-case).