I am currently going thru pashka 's two pointers course at edu section i was struck at G of set 2 my submission and i was trying to solve in O(n) but i couldnt pass the test case can anyone help me learn what my mistake was thank you....
| # | User | Rating |
|---|---|---|
| 1 | Benq | 3792 |
| 2 | VivaciousAubergine | 3647 |
| 3 | Kevin114514 | 3603 |
| 4 | jiangly | 3583 |
| 5 | strapple | 3515 |
| 6 | tourist | 3470 |
| 7 | dXqwq | 3436 |
| 8 | Radewoosh | 3415 |
| 9 | Otomachi_Una | 3413 |
| 10 | Um_nik | 3376 |
| # | User | Contrib. |
|---|---|---|
| 1 | Qingyu | 158 |
| 2 | adamant | 152 |
| 3 | Um_nik | 146 |
| 4 | Dominater069 | 144 |
| 5 | errorgorn | 141 |
| 6 | cry | 139 |
| 7 | Proof_by_QED | 136 |
| 8 | YuukiS | 135 |
| 9 | chromate00 | 134 |
| 9 | TheScrasse | 134 |
can anyone help me optimize and crct the code!
I am currently going thru pashka 's two pointers course at edu section i was struck at G of set 2 my submission and i was trying to solve in O(n) but i couldnt pass the test case can anyone help me learn what my mistake was thank you....
| Rev. | Lang. | By | When | Δ | Comment | |
|---|---|---|---|---|---|---|
| en5 |
|
shreyanks | 2024-08-04 14:25:08 | 1 | Tiny change: '274306659)and i was ' -> '274306659) and i was ' | |
| en4 |
|
shreyanks | 2024-08-04 14:24:49 | 112 | ||
| en3 |
|
shreyanks | 2024-08-04 14:23:39 | 140 | ||
| en2 |
|
shreyanks | 2024-08-04 14:22:48 | 117 | ||
| en1 |
|
shreyanks | 2024-08-04 14:22:05 | 317 | Initial revision (published) |
| Name |
|---|


