Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 2296. Design a Text Editor
Implement a text editor with a movable cursor that supports inserting text at the cursor, deleting up to k characters to the left (backspace), moving the cursor left/right by k, and returning up to the last 10 characters to the left of the cursor; design a data structure to maintain and update the cursor position and surrounding text efficiently.
Asked at:
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Late December, 2024
Principal
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.