I have several books of programming exercises that I am working through. I would like to post some of my solutions to Code Review. Can I include problem statements along with my solutions without running afoul of copyright law?
Most of each post would be my own work, but I would be including the statement of the problem/exercise from a book. My understanding of fair use is that if I were to do this for a single question/exercise then that would constitute fair use. However if I were to write my own solutions manual which included all of the exercises/problem-statements from the the book then that may violate fair use. Assuming that's an accurate description, I'm still unclear on whether or not posting all (or a significant number) of the questions from a single book to Code Review would violate fair use, since they wouldn't form a single document.
Is the number of such posts I make a factor when determining fair use? Could I post every question statement or would that be going too far? Does the fact that the questions are posted to the same site (StackExchange) mean that they can be considered as a single collection?
I posted an almost identical version of this question to the Code Review Meta site, but asking whether or not this would violate their posting policy:
Here is a related post from the Academia StackExchange: