Accenture Interview Question

2 Coding basic problems were asked