Pergunta de entrevista da empresa TecAce

Given a string (they pass in an array of bytes) return a string that contains the hex value of each character.

Resposta da entrevista

Sigiloso

1 de nov. de 2017

For loop through each character in the string, get the character's ASCII value and convert that value into a hex value, adding to a new string as you go. It's critical to remember how to convert from decimal to hex here!