Brainteaser
这类题目就是先观察规律,再下手写题。 一般来说能想明白关键点,题目就会迎刃而解, 并且代码很短。
Leetcode
No. | title | difficulty |
---|---|---|
292 | Nim Game | Easy |
777 | Swap Adjacent in LR String | Medium |
319 | Blub Switcher | Medium |
521 | Longest Uncommon Subsequence I | Easy |
1033 | Moving Stones Until Consecutive | Easy |
1227 | Airplane Seat Assignment Probability | Medium |
1503 | Last Moment Before All Ants Fall Out of a Plank | Medium |