Microsoft
3.6 of 5 7,019 reviews
www.microsoft.com Redmond, WA 5000+ Employees

Microsoft Intern Interview Question (student candidate)

I interviewed in Blacksburg, VA and was asked:
"You are given an array with a null value on each end of the array. The array is populated with a random string (for instance "aabbca"). You must integrate through the array from each end and count the number of specific characters in the array."
Add Tags [?]
Answer Flag Question

Part of a Intern Interview Review - one of 3,165 Microsoft Interview Reviews

Answers & Comments

0
of 0
votes
parse the array, put the values into a hashset, in the end, get a count of elements in the set.
- Jeevan on Oct 10, 2012 Flag Response

To comment on this question, Sign In with Facebook or Sign Up


Microsoft – Why Work for Us?

What do you want in a job? Do you want more than a paycheck? At Microsoft, you can discover potential you didn’t know you had, push your limits, turn your ideas into reality and make a real impact on the industry and… Full Overview

Provided by employer [?]

Tags are like keywords that help categorize interview questions that have something in common.

Glassdoor is your free inside look at Microsoft interview questions and advice. All interview reviews posted anonymously by Microsoft employees and interview candidates.