Which riddle are you asking about?
All the riddles should be answered in your notebook / hints section.
Also if the first 3 riddles you can click on "show me the answer" or a similar button to give you the answer. The second set of riddles you can ask Yuki the answer (if you recruited her).