left and right.addText, push each character of the text onto the left stack.deleteText, pop k characters from the left stack, or until the left stack is empty.cursorLeft, pop k characters from the left stack and push them onto the right stack.cursorRight, pop k characters from the right stack and push them onto the left stack.min(10, len) characters to the left of the cursor, pop up to 10 characters from the left stack, construct the string, and then push the characters back onto the left stack.