First of all, many great programmers say that solving problems is good and they followed this technique.
And if u want to follow a system approach here r some reasources -
First of all, many great programmers say that solving problems is good and they followed this technique.
And if u want to follow a system approach here r some reasources -
Can you become a very good cricketer by just learning to face some type of balls or by learning few shots. You need practice and experience and love. First of all remove from the mindset that investing in practicing might be time consuming.
Start practicing from easy problems and courageously move over to the relatively harder problem. And, yes, do attempt as many contests as you can and give your best in each contest.
I agree with the answers above mine.
Additionally, i wish to stress on the fact that it is EXTREMELY IMPORTANT to PARTICIPATE and learn from contests as well. The reason is that-
If u need any further help from me, you can mail me at my official mail id.
(Sorry for any typos. Answering via phone. No access to pc, busy with wedding rituals of my brother)
It was the question that I also worried about
It’s already answered.
Don’t focus on individual algorithms, but try to understand the concepts and building blocks behind them. Only the easiest problems are solvable with an unmodified standard algorithm, most problems have a small twist that prevent the use of a standard algorithm or are completely non-standard anyway. However, concepts such as dynamic programming, divide and conquer, preprocessing, greedy are usable on a very wide range of problems. Often you will need to combine them.
The most important concept is likely time and space complexity. For every problem look at the constrains first and figure out what is the maximum complexity that would still get AC. It is easier to find working algorithm then, as you can limit your mental search space.
From seeing ur profile i dont think you have good command over stl containers and you dont give a lot of time for thinking about solution to a problem.
You just think about the question when u sit in front of the screen and then give up, you know what, People think for solutions while they are walking on street, having food, even while watching a movie u just need to have that passion in you for solving problems, i am not saying you dont have but there is something missing in you.
Now the solution : just sit down and solve first four problems of past 3/4 long challenges that solve a few ad-hoc and dp problems from spoj. Then take part in a contest with confidence, believe that i can do it, its just that you are not getting the logic right away and i will eventually get it.
Most importantly solve the questions after the contest reading the editorials and looking through others code you will surely be where you want to be.
Cheers :-) I hope it helps.
I’ll make it simple for you.
Good luck
but atleast you can tell me types of problems to prepare on,or atleast some common types of problem which frequently occurs based on concept in competitions…
Start with domain of hackerrank. Easy section will contain all relevant problems that you are asking. I did the same thing before coming in the world of Competitive programming so i am suggesting you the same thing
this has got me no where…from past two year i m practising but didn"t reach any milestone.
thank you for the suggestion…
@anon55659401
You should also answer this…
I think people wrote everything…
I would say “participate regularly” and “upsolve”…
Debug people’s code on discuss… (Helps a lot in improving debugging skills)
that’s it…
@vijju123 is always helpful. I used to mail him my queries many times. And every time he reflected back to me with a proper and helpful solution on time.
Practice Hard.
But Relax and Enjoy as well
You’ll be 5-star in no time
agree totally… he helps people a lot…
i just want to start cp any suggestions