Design a Text Editor at Snapchat

Hard49.9% acceptance

This problem has 50.0% frequency at Snapchat.

Problem Description

Design a text editor with a cursor that can do the following: * **Add** text to where the cursor is. * **Delete** text from where the cursor is (simulating the backspace key). * **Move** the cursor either left or right. When deleting text, only characters to the left of the cursor will be...

Read full problem and hints

Topics

Also asked at 12 companies


More Snapchat Questions

View all Snapchat questions