Having a hard time doing algorithmic problems

Hi folks,

I have a degree in B.Tech in Computer Science from a three tier college, I am having a very hard time doing problem solving.
For instance i was trying to do Reverse a Linked List and it took me almost a day to understand how the algorithm works.
Now I was doing Reverse a Linked List from m to n and still I'm in the same position, I can't do anything without watching a lot of YouTube tutorials, I panic when I don't understand the solution.

I have heard people talk that they come up with a solution! I mean how? How do you do that? Need tips to how to actually problem solve without panicking and without looking at the solutions.

Thanks in advance.

Comments (5)