Deloitte Interview Question

Asked Leetcode medium questions during assignment portion