Software Engineer • Intern
Software Engineer • Intern
High QualityInterview Summary
The Duolingo SWE Intern Karat interview started with three short verbal questions about algorithms and complexity, followed by a 45-minute coding problem. The coding task involved traversing a height matrix under deterministic movement rules and counting how many starting cells eventually reach a global maximum.
Interview Details
Part 1 — DSA and Complexity Q&A
The first 10 minutes contained three questions that were answered verbally without writing code. The first question showed an in-place array reversal that iterated through the entire array and swapped each element with its mirrored position. The interviewer asked whether this correctly reverses the array and what the time and space complexity would be.
The issue was that traversing the complete array causes every pair to be swapped twice, restoring the original order. The discussion covered limiting the swaps to one half of the array, with O(n) time and O(1) extra space.
The second question described a dating application with P users and an O(1) get_match() operation. Given one user, find their
Unlock Full Details
Create a free account to unlock this interview experience report.