Hi everyone i am quite new to competitive programming like i started 20 days back and i am studying about recursion and backtracking can someone tell me how to improve on these topics like i always make recursion tree while solving those problems and end up wasting lot of time can someone help me on how to actually code fast without thinking about drawing recursion trees
What usually helps while learning a concept for the first time is thinking about related problems in terms of how you would prove correctness of your solution, which is induction in this case. If you understand induction and how it is just the mathematical analogue of recursion in computer science, you'll be able to code recursion faster. Of course, it becomes easier only with practice/experience, so it is always a good thing to solve a lot of problems.
thanks :p