Start points are Power of Two, strStr, Plus One, Climb Stairs, and Reverse Int.
Some thoughts about the special cases…
- special values: 0, 1, null
- special conditions: negative or positive
- boundary: +/- 1?
- overflow: use key word like Integer.MAX_VALUE / MIN_VALUE
- size incomparable: sub size larger than sup size
Some thoughts on program design:
- flag signals for condition control
- dynamic programming
- bitwise or logical operation