Interview Verified
Amazon SDE Intern Interview
AskedMar 2026
SolvedSolved
LanguagePython
PostedAug 25, 2026
I was asked one question about designing a lottery system for customers that purchase items (each purchase casts a vote). Input is logs of the purchase history with item and customerid. Fleshed out a simple array approach for votes that are cast with conditions to simulate drawing multiple time. Could have optimized with prefix sums or better storage for votes. Had a follow up asking to account for different data types like floats and empty input.
I was also asked how I develop with AI and my thought process. Answered with related content about context and harness engineering with my previous work.
Second interview was standard leetcode Number of Islands, dfs. follow up discussing if the matrix was larger how we need to use BFS instead of DFS.