IBM interview question

2 coding questions and one ssh question