Pergunta de entrevista da empresa SLB

Convert a binary number, implemented as a linked list, to hexadecimal.