The correct option is A O to B, B to A and A to O
Time period of a simple pendulum is the total time taken to complete one full cycle, i.e. by coming to its initial position.
Therefore if the bob starts from O towards B, to complete one full cycle(time period), it must move from O to B, B to A and A to O.