Problem: https://leetcode.com/problems/race-car/
From intuition, I think that we should ignore all points after 2*target and less than 0. Could someone provide proof or counter example for it ?
№ | Пользователь | Рейтинг |
---|---|---|
1 | tourist | 3690 |
2 | jiangly | 3647 |
3 | Benq | 3581 |
4 | orzdevinwang | 3570 |
5 | Geothermal | 3569 |
5 | cnnfls_csy | 3569 |
7 | Radewoosh | 3509 |
8 | ecnerwala | 3486 |
9 | jqdai0815 | 3474 |
10 | gyh20 | 3447 |
Страны | Города | Организации | Всё → |
№ | Пользователь | Вклад |
---|---|---|
1 | maomao90 | 171 |
2 | adamant | 164 |
3 | awoo | 163 |
4 | TheScrasse | 159 |
5 | nor | 157 |
6 | maroonrk | 155 |
7 | -is-this-fft- | 152 |
8 | Petr | 147 |
9 | orz | 145 |
9 | pajenegod | 145 |
Proof for a solution of a problem
Problem: https://leetcode.com/problems/race-car/
From intuition, I think that we should ignore all points after 2*target and less than 0. Could someone provide proof or counter example for it ?
Rev. | Язык | Кто | Когда | Δ | Комментарий | |
---|---|---|---|---|---|---|
en1 | Surfer1999 | 2022-06-06 12:39:17 | 229 | Initial revision (published) |
Название |
---|