Amazon SDE1 FTC
Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2024-08-16Added By Anonymous
Source: Link
Company: Amazon
Role: SDE I
Interview Stage: Onsite
Location: unknown
Year: unknown
Original Post Content:
Onsite Interview Round I
Ques 1:
You have two rows of volleyball players.
You need to select players such that no consecutive players are from the same row, and the sum of their heights is maximized.
Example1:
Input:
5
9 3 5 7 3
5 8 1 4 5
Ques 2: https://leetcode.com/problems/koko-eating-bananas/description/
Onsite Interview Round II
Ques 1: Finding the Maximum for Each Contiguous Subarray of Size k
Ques 2: Finding a Pair with a Given Sum in a BST