Tech screen
Anonymous User
684

Interview question was to implement a text document class that could handle:

  1. applying an operation (the two operations are inserting text the end of the document and deleting n characters from the end of the document)
  2. undoing the latest operation
  3. redoing the latest operation
  4. get the current content

Don't expect any hints during the interview

Comments (2)