IBM interview question

Three coding questions with any language you like