IBM interview question

Coding questions have two regular algorithms and one Devops question.