Get best answers to any doubt/query/question related to programming , jobs, gate, internships and tech-companies. Feel free to ask a question and you will receive the best advice/suggestion related to anything you ask about software-engineering , development and programming problems .

0 like 0 dislike
929 views
in Online Assessments by Expert (44,360 points)

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 (44,360 points)
...