Citadel interview question

There were three coding problems.