Three frogs start from the same place, then two frogs move, and the third then moves between them.
Programming this in Java was required for a TMA question on M250 in 2013J. First step is to understand the problem, and making a video is a step towards understanding. Notice that in the first part of the clip a frog moves between the two frogs, but moves by starting from the left, whereas the question says it should move "DIRECTLY to the position of the start frog".

Created on an iPad using app iStopMotion, a table cloth, a blackboard and a tripod picked up at a charity shop

Loading more stuff…

Hmm…it looks like things are taking a while to load. Try again?

Loading videos…