#!process merge api phone
1 messages · Page 1 of 1 (latest)
experienced hire role
1st technical round question:
Design text based microsoft paint. support following
- initialize canvas to white
- each cell takes a color thats a single character
- draw rectangle (endpoints inclusive)
- draw cell (fill coord in 0 based indexing with color)
- clear (reset canvas to all white)
- undo (undoes action)
- redo (clear redo after a draw action is successful)
a good test case was provided to run thru