Epsilon Interview Question

How I tackle efficiency problems