Sde Interview Questions

16,594 sde interview questions shared by candidates

Two City Scheduling (LeetCode 1029). You are given an array of 2N people, where each element contains costA and costB. You need to send exactly N people to City A and N people to City B such that the total cost is minimized.
avatar

SDE 1

Interviewed at Amazon

3.5
Mar 23, 2026

Two City Scheduling (LeetCode 1029). You are given an array of 2N people, where each element contains costA and costB. You need to send exactly N people to City A and N people to City B such that the total cost is minimized.

Viewing 641 - 650 interview questions

Glassdoor has 16,594 interview questions and reports from Sde interviews. Prepare for your interview. Get hired. Love your job.