TECHNIA Interview Question

puzzle-soldier and sword problem