Pregunta de entrevista de IBM

Questions based on string and binary numbers