Maintec Technologies interview question

simple