Can i learn graph algos before dp?

is it ok to do so?? i m facing problem in understanding DP.

@Aditikumari
It is recommended to do DP before graphs
Both are equally tricky topics
But some parts of graph require dp as well
So try DP first
Kindly close this doubt