CrimsonLogic interview question

Program debugging-obtaining maximum adjacency by reversing exactly one coin