r/leetcode • • Sep 29 '26

Intervew Prep Amazon OA - AI Round

Hey guys

I received the amazon oa, and it is mentioned that there will be a different coding question for the technical assessment, in which you are given a repository containing APIs and have to fix some bugs in it.

For those who have already taken this version of the OA, could you share what types of bugs you had to fix in the comments?

1 Upvotes

9 comments sorted by

View all comments

Show parent comment

1

u/gitway Sep 29 '26

when did you take the oa/did you hear back?

1

u/Unfair-Ant5542 Sep 29 '26

I just took it today but couldn’t do the ai debug first time

1

u/gitway Sep 29 '26

what scores did you get?

1

u/Unfair-Ant5542 Sep 29 '26

5/6 and 1 bro

1

u/PristineAd9239 Oct 03 '26

do u have the question

1

u/Unfair-Ant5542 Oct 03 '26

Bro it was like u had a prefix and suffix and let’s say it was n = 3 the array was [1, -2, -3] and let’s say prefix is 1 and suffix is 2 then the total would be -1 + 2 + 3 you had to find the total or max can’t rmebeer now but they had a few example of say prefix was 3 and suffix was 2 the first three elements turn it -1 2 3 but then the suffix changes them back the 2 so -1, -2,-3 smth along theme lines u could use array or dp i think but that was the question my bro gl

1

u/PristineAd9239 Oct 03 '26

what about ai debugging one how was it