Workday interview question

only remember 3sum. Forgot others.