LiveRamp Interview Question

Technical Round - Write logic for minesweeper game.