algorithm notes: leetcode#246 strobogrammatic number