Smart! I did a similar thing for a tower defense game - it was faster/easier to generate and check a bunch of graphs than to try and build one perfectly from scratch.
I didn't actually use the hints, but I can see how knowing all the correct answers up front would make that easier. Though there's a random chance of being more than one correct answer and the hint may not be for an answer you already have in progress.
Thanks for sharing :)