I recently encountered an algebra test problem using a digital clock. I forgot exact wording, but know these are common test problems and know I'll see it again. Is there a algebraic way to solve these:

"How many times during the next 12 hrs will the numbers on this clock add up to .....?" There are other such problems.

Where can I find samples of these problems to practice?