Guys hard to do intermediate algorithms, need advice

Guyz, what happened to me? hard to find solution to an intermediate algorithmic questions. Do I need to read some books about algorithmic thinkings or just continue exercise though?