Pergunta de entrevista da empresa Morgan Stanley

3)Design algorithm to convert hexadecimal numbers to decimal number