NEWBIE here!

I want to learn greedy technique and how it works but whenever i am searching for it i am getting something related to trees and DP and i am not well acquianted with trees and havent studied dp…so for learning greedy do i need to learn dp first?
please help

No, just search greedy problems and solve them.