Count and Say, use two loop to get the result.
Rotate List
Pascal's Triangle II, use math to get O(n)