Soti interview question

Miltry deployment question and a pits and trap problem