Hi , I am a beginner in dynamic programming . I try to calculate time complexity of my solution on every question I try (to better prepare myself for interviews) but then I see the solution of other experienced people in discussion section the followed the same method as I but have different time complexity . Even my code & their code are logically same .
Anyone has good resource to learn how to calculate time complexity of recursive function ? Please also let me know it will be great help .
Thanks