Convert a Number to Hexadecimal | Leetcode 405 | Approach + Code with explanation.

Published --