文章目录
Problem Statement
Definition
Limits
Constraints
Examples
Problem Statement
You enjoy working with numbers that contain only square digits (namely, 0, 1, 4 and 9). The sequence containing only these digits is 0, 1, 4, 9, 10, 11, 14... Return the
n-th term (indexed from 0) in this sequence.
Definition
Class:
SquareDigitNumbers
Method:
getNumber
Parameters:
int
Returns:
int
Method signature:
in......
阅读全文