3602. Hexadecimal and Hexatrigesimal Conversion
You are given an integer
n.Return the concatenation of the hexadecimal representation of
n2and the hexatrigesimal representation ofn3.A hexadecimal number is defined as a base-16 numeral system that uses the digits
0 – 9and the uppercase lettersA - Fto represent values from 0 to 15.A hexatrigesimal number is defined as a base-36 numeral system that uses the digits
0 – 9and the uppercase lettersA - Zto represent values from 0 to 35.
1 | class Solution { |