Grid Gravity and Removal / Candy Crush
Roblox interview questions · Hard · Coding round · reported 3× · 5 tests
Simulate a Candy-Crush-like grid until it settles and return the final board.
Interface
stabilizeCandyBoard(board: number[][]): number[][]
Rules
Run your code with Ctrl+Enter to see results.