Naaptol interview question

binary to hex conversion