// without using matrices. The solution logic is simlar to Elimination Game prob logic. on day 9 we might get a optimized matrix solution.
1: "Smart bulb brightness changes based on time intervals—calculate final brightness.", 2: "A person forgets every 4th step count—reconstruct total steps walked ...