IBM interview question

Questions based on string and binary numbers