0
Simulate Text Cursor
You are given a string [A-Za-z|]+ that contains a single occurrence of | denoting the current position of the cursor and a sequence of moves [><#]+ where:
>: moves the cursor one position to the right
<: moves the cursor one position to the left
#: moves the cursor one posit...