ADP Interview Question

How to handle different difficulties