HDM Corporation Interview Question

logical think about a real context