[LeetCode] Strobogrammatic Number III 对称数之三
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[LeetCode] Strobogrammatic Number III 对称数之三相关的知识,希望对你有一定的参考价值。
A strobogrammatic number is a number that looks the same when rotated 180 degrees (looked at upside down).
Write a function to count the total strobogrammatic numbers that exist in the range of low <= num <= high.
For example,
Given low = "50", high = "100", return 3. Because 69, 88, and 96 are three strobogrammatic numbers.
Note:
Because the range might be a large number, the low and high numbers are represented as string.
Show Similar Problems
以上是关于[LeetCode] Strobogrammatic Number III 对称数之三的主要内容,如果未能解决你的问题,请参考以下文章