Accenture Interview Question

2 coding questions and moderate js questions