Glean·Frontend Engineer·Technical Phone Screen
Jun 2026
Interviewed for a frontend role at Glean and got a coding question straight out of a game mechanic. It was more involved than I expected for a frontend screen.
- Implement the tile-sliding and merging logic from the 2048 game for all four swipe directions on a 4x4 grid, including the constraint that each tile can only merge once per move.
“I've played 2048 before so the rules weren't foreign to me, but actually coding it cleanly is a different thing.”