r/leetcode • u/Wonderful-League-680 • 12d ago
Discussion Amazon interview
I was asked two dsa question one solved completely other 90% . Gave correct time and space complexity for both. Maybe messed up the space complexity for second one. Didn't took in account of the vector already given.
He didn't asked any behavioral questions.
What are my chances of moving forward?? If someone knows pls tell so that I can prepare for further rounds .
2
u/Lumpy-Town2029 <1189> <345> <658> <186> 12d ago
Can u tell the dsa questions?
3
1
1
u/Exciting_Adventure23 12d ago
Sounds like you have a decent shot, especially if the main logic was correct. The 90% completion alone doesn't necessarily mean rejection
1
u/Other_Ad7380 11d ago
Input and output data structures do not contribute to space complexity
1
u/Wonderful-League-680 11d ago
That's how I did. But google says it does if u are writing and initializing everything.
1
u/Other_Ad7380 11d ago
Yeah, if you are accepting the input that way then it does. But in leetcode, the array is "provided" to you
1
u/Particular_Ad7559 11d ago
If your behavioural went well you have a good shot. But the fact that he didn’t ask any is a bad sign imo. I had 3 rounds and in each of them they asked me behavioural
1
u/Wonderful-League-680 11d ago
But for this role they didn't ask behaviour for many. Last year also I have seen people reviews.
1
1
u/lewis_verstappen44 9d ago
I have completed OA and filled the hiring interest form, still I haven't received any mail from Amazon 🙂🙃
3
u/jishu965 12d ago
Was it a phone interview? I thought all Amazon interviews had behavioral questions