please refer me some good tutorials on backTracking and DP.
for backTracking see GFG and for dp you mainly need practice