Pergunta de entrevista da empresa Boeing

Coding question: Create a function that takes an input of an array of characters, does some bit wise data manipulation, and output in binary.