Axway Interview Question

difficult situation during coding?