Given an array and a target, find two indices that sum to the target — Microsoft interview
Reported in Microsoft USA engineering loops. Classic array + hash map problem testing optimal time–space trade-offs.
Interview atlas
Explore 28 curated Q&As across 1 employers — filter by career stage, round, or company.
Filtered Microsoft ×
Reported in Microsoft USA engineering loops. Classic array + hash map problem testing optimal time–space trade-offs.
Reported in Microsoft USA engineering loops. Foundational search algorithm with clear loop invariants and edge cases.
Reported in Microsoft USA engineering loops. Pointer manipulation staple for junior coding interviews.
Reported in Microsoft USA engineering loops. Graph traversal question covering shortest paths, connectivity, and complexity.
Reported in Microsoft USA engineering loops. Tree recursion warm-up that often leads to balanced-tree and diameter follow-ups.
Reported in Microsoft USA engineering loops. Sliding window pattern for substring problems with hash set or map tracking.
Reported in Microsoft USA engineering loops. Sort-and-sweep array problem common in calendar and scheduling interviews.
Reported in Microsoft USA engineering loops. HR negotiation question requiring research and flexible framing.
Reported in Microsoft USA engineering loops. SQL performance question covering B-trees, composite indexes, and trade-offs.
Reported in Microsoft USA engineering loops. Security and networking question covering encryption, certificates, and performance.
Reported in Microsoft USA engineering loops. Recruiter or HR question about logistics, time zones, and loop structure.
Reported in Microsoft interview loops. Array prefix-suffix pattern often asked in coding rounds.
Reported in Microsoft interview loops. Hash set based linear-time approach for sequence detection.
Reported in Microsoft interview loops. Heap and selection strategy question with multiple valid approaches.
Reported in Microsoft interview loops. Topological sort and directed cycle detection interview staple.