Convert to Hexadecimal

Convert a 32-bit integer to its hexadecimal string representation in lowercase. For negative numbers, use two's complement by treating the value as unsigned 32-bit. Return the hex string.

Examples
Input: 0
Output: "0"
Hints

Convert to Hexadecimal

Convert a 32-bit integer to its hexadecimal string representation in lowercase. For negative numbers, use two's complement by treating the value as unsigned 32-bit. Return the hex string.