Pergunta de entrevista da empresa Agilysys

convert binary to hexadecimal without using defined function