IBM interview question

about myself and then moved to interview code