Uber Interview
Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2025-02-14Added By Anonymous
Source: Link
Company: Uber
Role: unknown
Interview Stage: Phone Screen
Location: unknown
Year: unknown
Original Post Content:
Recently I had a Interview with Uber. I was this question https://leetcode.com/problems/longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit/description/, It was not a very famous question so I never practiced it. But after putting efforts and energy I came up with O(NlogN) using a TreeMap. I coded the solution, but there was a bug and I was out of time. I would like to know is there any chances I can make through it. I tried the same logic after the interviews and It was accepted. Please help me out.