Microsoft OA| Feb 2022
Anonymous User
2680

I got this question in Microsoft OA and it took me a lot of time and I came up with a naive solution in the given time. Can anyone please help me with an optimized approach or code for the following question :

image

Comments (9)