Pregunta de entrevista de Tubi

The iOS coding challenge (implement in SwiftUI or UIKit): Create a grid that has over 100 tiles in one screen (No need scrollable) 1. The grid should be arranged so it has 6 columns. 2. The tiles should be square. 3. Randomly select a background color for each tile choosing either white or blue. When tapping ONLY on WHITE tiles, they should turn blue, and at the same time update the background color of every surrounding WHITE tile to blue (ABOVE, BELOW, RIGHT, and LEFT directions ONLY). For every white tile that turns to blue we will continue to update the background of the nearby white cells and so on until there are no cells to update. Making this an updating effect that begins with just one tap.