Candidatei-me online. O processo levou 1 semana. Fui entrevistado pela Uber (San Francisco, CA) em set. de 2024
Entrevista
In a typical data structure and algorithm (DSA) phone screen interview for a senior software engineer at Uber, you can expect questions designed to assess your problem-solving abilities, understanding of algorithmic efficiency, and coding skills.
For example, consider a problem where you are asked to find the length of the longest subarray that can contain at most one zero while still maximizing the number of consecutive ones. This problem tests your understanding of sliding window techniques and your ability to manage conditions within a loop efficiently.
The phone screen lasted about 30 minutes and began with general questions about my background before diving into technical topics. I was asked to solve a DSA question on finding the top K frequent elements, discussing both the min-heap and bucket-sort approaches. Surprisingly, I had recently practiced a similar problem on the algorithm section of PracHub, which helped me articulate my thought process clearly. The interview continued with an onsite where I tackled system design and behavioral questions, and overall, the experience was straightforward and positive, leading to an offer that I happily accepted.
Perguntas de entrevista [1]
Pergunta 1
Top K Frequent Elements: given an integer array and integer k, return the k most frequent elements. Walk through both the min-heap approach (O(n log k) time) and the bucket-sort approach (O(n) time), then discuss the trade-offs in time, space, and which one you'd pick for a streaming variant where new numbers keep arriving.
Surprisingly, the interview felt quite straightforward, especially for a senior role. I started with a technical screen, where I was asked to design an Uber Eats cart service. It caught me off guard initially, but then I remembered a specific mock I had practiced on PracHub that was nearly spot-on with this scenario. The final round included some behavioral questions, and although I received an offer, I ultimately decided to decline. Overall, it was a positive experience.
Candidatei-me online. Fiz uma entrevista na empresa Uber (Bengaluru).
Entrevista
Round 1 - Coding
Question: Count Rectangle-Line Intersections. Given a set of rectangles and a set of vertical line segments, count how many places the vertical lines intersect the rectangle edges (ignoring edge-on-edge overlaps).
Perguntas de entrevista [1]
Pergunta 1
Count Rectangle-Line Intersections. Given a set of rectangles and a set of vertical line segments, count how many places the vertical lines intersect the rectangle edges.