Convert a non-negative integer into two textual representations: hexadecimal and base-36 (hexatrigesimal).
Given a non-negative integer, convert it into two different string representations:
0-9 and letters A-F0-9 and uppercase letters A-ZReturn both converted strings. The conversion should follow standard positional numeral system rules, with no leading zeros unless the value itself is 0.
10 to 15 map to A to F.10 to 35 map to A to Z.n.nn0 <= n9.Example 1
Input
n = 255
Output
"FF", "73"
Explanation
255 in hexadecimal is FF. In base 36, 255 = 7 × 36 + 3, so the representation is 73.
Example 2
Input
n = 0
Output
"0", "0"
Explanation
Zero is represented as 0 in every base.
Premium problem context
Premium adds guided hints, editorial links, similar variants, discussion resources, and concept maps so you can understand why a problem matters, not just solve it once.