Search
⌘K

Leetcode 405. Convert a Number to Hexadecimal

Convert a 32-bit signed integer to its lowercase hexadecimal string representation, using two’s complement for negative values and omitting leading zeros (except for "0"). Implement the conversion manually without using built-in hexadecimal conversion routines.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.