Mamdani governs like he’s solving a community Rubik’s Cube.