Microsoft Interview Report
- 3of 3 votes
AnswersWrite your own regular expression parser for following condition:
- techpanja October 22, 2013 in United States for yammer
az*b can match any string that starts with and ends with b and 0 or more Z's between. for e.g. azb, azzzb etc.
a.b can match anything between a and b e.g. ajsdskjb etc.
Your function will have to parameters: Input String and Regex. Return true/false if the input string satisfies the regex condition. Note: The input string can contain multiple regex. For e.g. az*bc.g| Report Duplicate | Flag | PURGE
Microsoft Software Engineer / Developer - 2of 2 votes
AnswersGiven an input list of lists.. flatten the list. For e.g.
- techpanja October 22, 2013 in United States for yammer
{{1,2}, {3}, {4,5}} ... Output should be {1, 2, 3, 4, 5}| Report Duplicate | Flag | PURGE
Microsoft Software Engineer / Developer - 2of 2 votes
AnswersFind the max height of a binary tree.
- techpanja October 22, 2013 in United States for yammer| Report Duplicate | Flag | PURGE
Microsoft Software Engineer / Developer
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.