Tag Archives: strobogrammatic

Strobogrammatic Number II, III

Strobogrammatic Number II A strobogrammatic number is a number that looks the same when rotated 180 degrees (looked at upside down). Find all strobogrammatic numbers that are of length = n. For example, Given n = 2, return [“11″,”69″,”88″,”96”]. Solution. The basic idea is to iterate from inside to outside. If n is even, we… Read More »