405. Convert a Number to Hexadecimal
https://leetcode.com/problems/convert-a-number-to-hexadecimal/
Last updated
Was this helpful?
https://leetcode.com/problems/convert-a-number-to-hexadecimal/
Last updated
Was this helpful?
整数表示成16进制字符串。整数本身就是用的二进制表达,转成16进制只要每4位做下映射。
参考自。