How to self learn and solve problems?
If you visit my profile you will see that I'm not that good at problem solving. I solve only A type problems I have 1 year left to complete my college. I didn't do well in ICPC regional contest. I want a good CodeForce profile within this one year and a good problem solver as well. Is it even possible to do so??!!!
Things I know till now
- Basic Data structures and Algorithm;
- C++ STL;
- Binary Tree;
- Graph's Traversal, Dijkstra, Bellman, coloring and Bipartite, TopoSort, Cycle Detect, Minimum Spanning Tree
- Some Number theory topics.
- Backtracking and Recursion, Greedy;
focus more on problem-solving to improve as it will uplift the logic.
at your level, I would advise you to solve more problems of level 800-1100
At my level. What should I do if I can't solve a specific problem?? Should I open solution's source code??
try to read the editorial or watch some online videos that are explaining the solution. looking at the code is not good as u should implement sol on your own.
Solve this problem by yourself in O(N) and see the change:
Find the longest path in directed graph with cycle.
Practice binary search and basic math