I can't work out the algorithm for a pager I want to use. I've been struggling with this for a few days now and need some help, I don't even have a good strategy.


There are two groups, start and...