Explore questions associated with Microsoft. Review the source details, then use the workspace for code, notes, and diagrams.
454 questions in the library. A source association does not guarantee a future interview question.
Behavioral and leadership · Coding · Machine learning · ML system design · Object-oriented design · Other questions · Practical engineering · System design
Loading questions…
Showing 451–454
Check whether a string of parentheses/brackets is valid by ensuring every closing bracket matches the most recent unmatched opening bracket and the types and nesting…
Companies: Microsoft, Amazon, Apple, Bloomberg +9
Bracket Sequences · Stack · String
Determine whether a string containing '(', ')', and '*' (where '*' can represent '(', ')', or empty) can be assigned so the parentheses are balanced…
Companies: Microsoft, Apple, Oracle
Bracket Sequences · Dynamic Programming · Greedy · Stack
Array · Enumeration · Hash Table · Prefix Sum
Companies: Microsoft