Description
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.
Example:
1 | Input: n = 2 |
Solution
1 | class Solution { |
Why don't you come to your senses?
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.
Example:
1 | Input: n = 2 |
1 | class Solution { |