Valid Parentheses
Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.
s = "()[]{}"truePattern breakdown, verified question volume, and topic weights based on recent candidate interview reports.
Microsoft Online Assessments (frequently hosted on Codility or Mettl) are commonly reported to include 2-3 algorithmic coding tasks within 70 to 90 minutes. Emphasis is placed on strings, linked lists, binary trees, and dynamic programming, with tests measuring both correctness across edge cases and performance.
Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.
s = "()[]{}"trueWhat is the maximum height of an AVL tree containing N nodes?
Count the number of islands in an m x n binary grid (1s are land, 0s are water).
grid = [["1","1","0"],["1","1","0"],["0","0","1"]]2Access the complete Microsoft placement question bank, live code execution against test cases, AI-guided debugging hints, and placement readiness scores.
Pre-configures Microsoft as your target company during onboarding. Free student access.