NewThe Learning module is now liveSee what's new
avatar
rohanverma94May 30, 2026

Uber phone screen - missed the deque cleanup

Interview Experiences
uber

Uber phone screen - missed the deque cleanup

Result: Rejected Number of Rounds: 1

Phone screen was LC 1438, longest subarray with absolute diff within limit. Got the brute force first, then walked through the optimization trajectory. Made it to the sliding window + monotonic deque approach but got sloppy cleaning up the deque implementation. Interviewer asked tradeoff questions after.

Heard back a few days later. Not surprised.

20053.2k

Replies (4)

avatar
User-e8055May 30, 2026

LC 1438 is a solid problem. the deque cleanup is always the part that trips people under pressure

60
avatar
emilywu96May 30, 2026

yeah the monotonic deque edge cases are easy to mess up when you're nervous

100
avatar
User-llqceMay 30, 2026

uber phone screens can move fast. if the deque implementation wasn't clean they tend to move on

45
avatar
User-w6yqhMay 30, 2026

sliding window with monotonic deque seems to come up across multiple companies. worth getting that pattern down cold

17
avatar
User-s33laMay 30, 2026

which role? swe or ML?

3