https://www.hackerrank.com/challenges/kingdom-division
Can any One Write a simple recursive dp for this , I know it's pobular but I just need to see the steps ?!
# | User | Rating |
---|---|---|
1 | tourist | 4009 |
2 | jiangly | 3831 |
3 | Radewoosh | 3646 |
4 | jqdai0815 | 3620 |
4 | Benq | 3620 |
6 | orzdevinwang | 3529 |
7 | ecnerwala | 3446 |
8 | Um_nik | 3396 |
9 | gamegame | 3386 |
10 | ksun48 | 3373 |
# | User | Contrib. |
---|---|---|
1 | cry | 164 |
1 | maomao90 | 164 |
3 | Um_nik | 163 |
4 | atcoder_official | 160 |
5 | -is-this-fft- | 158 |
6 | awoo | 157 |
7 | adamant | 156 |
8 | TheScrasse | 154 |
8 | nor | 154 |
10 | Dominater069 | 153 |
https://www.hackerrank.com/challenges/kingdom-division
Can any One Write a simple recursive dp for this , I know it's pobular but I just need to see the steps ?!
Name |
---|
what's the point from giving me a low contribution .. I 'm just asking a simple question ?
Because there is an editorial, and you can see other people's solutions.
If there is something you don't understand in some solution please specify.
But you might still get downvotes because that's how Codeforces works :P
I think people usually downvote questions like that because it leaves an impression that the author isn't really trying. When someone asks a question about an easy problem, especially if there is an editorial, it comes off as random noise.
And too often you see people making nearly no effort to actually be helped. You sometimes see people just copying their code and asking "why does this give WA/TLE", possibly with bad grammar and no explanation on how they think the solution works. Other times its people asking questions that have been covered a million times before and are easily searchable on the Internet. And even if your post wasn't actually that bad, if there is enough random garbage, people might automatically downvote it.
And in the end of the day, a lot of people read the blogs to learn or discuss something. Simple questions aren't really that interesting and some people will downvote them.
all I need is to know more ways of solutions, and if it's just a simple easy question for some ,they just can leave it as simple as that.
You can read other people's codes in hackerrank.