I learned that a verb phrase modifying a noun should precede the noun with 的 in between, like this:
我还有很多要学习的东西。(I still have a lot to learn.)
However, I have seen some people speak like this:
我还有很多东西要学习。
So I was wondering what kind of grammatical structure is the second sentence? And if the second sentence is the correct one, are there any differences between the two sentences? Thank you.