Cognizant interview question

Medium level coding in any language

Interview Answer

Anonymous

3 May 2024

I have solved the code