2018 Dec Bronze Problem 3 Back and Forth

Official Problem StatementEdit

Back and Forth

ProblemEdit

SolutionEdit

CodeEdit