Deloitte Interview Question

What are an efficient way for a standard coding