James_Bond_OO7's blog

By James_Bond_OO7, history, 3 months ago, In English

Hi folks!!! I am learning dynamic programming.I am a newbie. I am learning dp in recursive way. But i find great difficulty in iterative way. And sometimes i face tle or runtime error in recursive specially in cses problem set. So i want to learn dp in iterative way. But don't know how to. Can you guys tell me how to learn dp in iterative way as a beginner?? Thanks in advance.

Read more »

 
 
 
 
  • Vote: I like it
  • -3
  • Vote: I do not like it

By James_Bond_OO7, history, 3 months ago, In English

problem statement: cses grid paths https://cses.fi/problemset/task/1638/ What is wrong with my code?? code: Link to this code: https://cses.fi/paste/d5d85fe7f661fdba3fd8f3/

Read more »

 
 
 
 
  • Vote: I like it
  • -1
  • Vote: I do not like it

By James_Bond_OO7, history, 6 months ago, In English

I have started learning dijkstra algorithm but i can not solve any problem on any ojs. I don't know how to find second shortest path or these kinda problem . I just can figure out shortest path. How can i be an expert on dijkstra algo?

Read more »

 
 
 
 
  • Vote: I like it
  • 0
  • Vote: I do not like it