LiveRamp interview question

Technical Round - Write logic for minesweeper game.