I tried this when I was just starting out with programming and there were a lot of logical jumps in the exercises. Especially early on, I would check the solutions after a tough one and find syntax that I was not familiar with (and wasn't previously introduced). I ended up having to combine it with other resources and then just hobble through.
Still, it seems like a good idea for a book.