Math questions can come in all shapes and sizes, so don't focus on only practicing TOD-related questions. The best way to prepare for such exercises is to get your brain into gear, keep mentally active and anticipate that questions requiring mathematical computing can come in ANY interview. Others have also mentioned using whatever resources available to come to a correct solution, that is a good idea as well.
Good luck everyone!