| # | User | Rating |
|---|---|---|
| 1 | Benq | 3792 |
| 2 | VivaciousAubergine | 3647 |
| 3 | Kevin114514 | 3603 |
| 4 | jiangly | 3583 |
| 5 | turmax | 3559 |
| 6 | tourist | 3541 |
| 7 | strapple | 3515 |
| 8 | ksun48 | 3461 |
| 9 | dXqwq | 3436 |
| 10 | Otomachi_Una | 3413 |
| # | User | Contrib. |
|---|---|---|
| 1 | Qingyu | 157 |
| 2 | adamant | 153 |
| 3 | Um_nik | 147 |
| 4 | Proof_by_QED | 146 |
| 5 | Dominater069 | 145 |
| 6 | errorgorn | 142 |
| 7 | cry | 139 |
| 8 | YuukiS | 135 |
| 9 | TheScrasse | 134 |
| 10 | chromate00 | 133 |
|
0
Ooh, I see, your point makes sense. Such a silly thing I was thinking. Yeah, we will return the value according to currBoard,prevBoard,currMaxCan values because that's how recursion works. Thanks a lot Ji_Kuai :) |
|
0
We can consider bidirectional approach when- i) Both initial and goal states are unique and completely defined. ii) The branching factor is exactly the same in both directions. Reference — https://www.geeksforgeeks.org/bidirectional-search/ |
|
0
Okay, one more, Just the last one Ji_Kuai, please! Why can't we make My code link -> 142507920 |
|
0
Hey, Can you please share any resource about this concept of finding gcd or about what exclusion DP is? Thank you! |
|
0
Thanks a lot! |
|
+1
Thank you Ji_Kuai, I was also struggling with the same thinking what's wrong in it. Thanks to nyet for replying me with the link of this comment. But I am curious, like can't we do anything to this approach to get it better. Like at any (i,j) if we store all the possible (ans,prev) pair and using the one to calculate for further states. Tho it's more complex and inefficient. But can we do that? Will that give the right answer? And making the conclusion that "for calculating some new dp state, the stuff we are using for it must be unique in the sense that that stuff should be only valid stuff for that previous state" is right or wrong? |
|
0
Hey, I am also doing this only. But unable to figure out the mistake. Did you get to know why this will not work. Or anybody else can help us out! Please!! Thank you so much! My Code -> 142787581 (Similar to @i_will_be_expert's) PLEASE PLEASE, help us out! |
| Name |
|---|


