Message on Whatsapp 8879355057 for DSA(OA + Interview) + Fullstack Dev Training + 1-1 Personalized Mentoring to get 10+LPA Job
0 like 0 dislike
481 views
in Online Assessments by Expert (46,090 points) | 481 views

1 Answer

0 like 0 dislike
I did an online assigmennt for Microsoft for NYC location.
I had two question and 10 multiple choice questions.

I forgot exactly how the coding questions were, maybe some of you seen it and can help us identify?

First question: You can place the number "5" anywhere in the number to make it the largest number.
So like if you have "9991" you place "5" here: "99951", also handle negative numbers too too.

Second question: Find the substring that has an equal amount of lower case letters as upper case, it could be solved in a sliding window way, like you go from one end to the other and keep track of the upper case letters and keep track of lower case letters. I could not solve this one in time.

Any help would be appreciated trying to find it on here, maybe someone else seen it.
by Expert (46,090 points)