UST Interview Question

How would you approach the problem differently in a real world scenario?