The DatologyAI process included two coding interviews. The first focused on implementing a text editor with increasingly complex cursor movement, while the second provided a simplified Spark RDD abstraction and asked me to implement additional transformations using the existing APIs.
Interview Details
Round 1 — Text Editor
The task was to implement a basic TextEditor supporting three operations:
type_in(char)
backspace()
__str__()
type_in(char)
backspace()
__str__()
type_in(char) inserts a character at the current cursor position.
backspace() removes the character immediately before the cursor.
__str__() returns the current text while displaying the cursor using |.
The interviewer then added two follow-ups. First, support: move_cursor(direction) so the cursor could move left and right through the text. The second follow-up extended cursor movement to support moving up and down across multiple lines.
**Round 2 — Mock
Unlock Full Details
Create a free account to unlock this interview experience report.