Solve five hard algorithm problems | Pinterest Coding Question