Quora·Machine Learning Engineer·Technical Phone Screen
Jun 2026
Quora ML Engineer interview with a coding problem that looked manageable until the non-square matrix rotation showed up. The rest of the operations were fine but that one dimension-flip requirement took most of my mental energy.
- Given an m by n matrix (not necessarily square) and a list of string commands, implement each operation in sequence and return the resulting matrix. Operations include: 90-degree clockwise rotation (output dimensions flip to n by m), swapping two rows, swapping two columns, reversing a specific row, and reversing a specific column.
“The swap and reverse ops were fine, basically just index manipulation.”