I have already solved a lot of problems on this but still when some new problem pops I couldn't able to code the solution even if I know the approach.. so what should I do for this??.................
# | User | Rating |
---|---|---|
1 | tourist | 3985 |
2 | jiangly | 3814 |
3 | jqdai0815 | 3682 |
4 | Benq | 3529 |
5 | orzdevinwang | 3526 |
6 | ksun48 | 3517 |
7 | Radewoosh | 3410 |
8 | hos.lyric | 3399 |
9 | ecnerwala | 3392 |
9 | Um_nik | 3392 |
# | User | Contrib. |
---|---|---|
1 | cry | 169 |
2 | maomao90 | 162 |
2 | Um_nik | 162 |
4 | atcoder_official | 160 |
5 | djm03178 | 158 |
6 | -is-this-fft- | 157 |
7 | adamant | 155 |
8 | Dominater069 | 154 |
8 | awoo | 154 |
10 | luogu_official | 151 |
I have already solved a lot of problems on this but still when some new problem pops I couldn't able to code the solution even if I know the approach.. so what should I do for this??.................
Name |
---|
You should have a clear idea of how backtracking works (in your problem) and develop intuition for it, perhaps start with a simple case on your paper to simulate it effectively. Understand what happens when it backtracks, the pattern, the recurrence, and observe various codes to gain insights into different approaches
Alright!! So you are saying I need to practice more...
Alright, this is the main rule to master anything.
Pen and paper
Go and solve Usaco complete search with recursion problems and you will be fine
if you can find the approach and cant code my new blog about backtracking might (or might not) be useful for you, https://mirror.codeforces.com/blog/entry/131470, practicing is very important
Write a sudoku solver.