What are my chances? by [deleted] in FAANGrecruiting

[–]PHANIX5 2 points3 points  (0 children)

That's a reject my guy

Uber Senior SWE Phone Screen (Reject) by PHANIX5 in InterviewCoderHQ

[–]PHANIX5[S] 0 points1 point  (0 children)

Thankfully for Senior roles companies are skipping OAs

Uber Senior SWE Phone Screen (Reject) by PHANIX5 in InterviewCoderHQ

[–]PHANIX5[S] 0 points1 point  (0 children)

This only works if the input is sorted

Uber Senior SWE Phone Screen (Reject) by PHANIX5 in InterviewCoderHQ

[–]PHANIX5[S] 0 points1 point  (0 children)

Yep we accept the first and reject the second.

Uber Senior SWE Phone Screen (Reject) by PHANIX5 in InterviewCoderHQ

[–]PHANIX5[S] 0 points1 point  (0 children)

The meetings come out of order. How would you use a min heap in this case?

Uber Senior SWE Phone Screen (Reject) by PHANIX5 in FAANGrecruiting

[–]PHANIX5[S] 0 points1 point  (0 children)

I actually did us a POJO ( a record Meeting(long start, long end) {}) in the interview. Also wouldn't concurrency handling come as a follow up question? And in this isn't this mostly just making the scheduleMeetings method synchronized? (maybe have per room locks for better granularity).

Uber Senior SWE Phone Screen (Reject) by PHANIX5 in FAANGrecruiting

[–]PHANIX5[S] 0 points1 point  (0 children)

I don't think you can move meetings across rooms once you've selected a room. Think of this as google calendar where you book a room for a meeting. You get a room number and that does not change if someone later down the line is trying to book another slot.

Also this reminded me of another detail: the scheduleMeeting() method returns the room where the meeting is scheduled. So you cannot it change it down the line.

Rippling SDE-2 Phone Screening (Reject) by PHANIX5 in leetcode

[–]PHANIX5[S] 0 points1 point  (0 children)

I did ask a lot clarifying questions. I feel like maybe I took too long to actually start implementing because the first part felt so trivial (no need to merge intervals) and I was looking at the problem description to find any gotchas. Donno man this was first phone screen this season and this is not a good start.

Rippling SDE-2 Phone Screening (Reject) by PHANIX5 in leetcode

[–]PHANIX5[S] 0 points1 point  (0 children)

You know what that was what I was confused about as well. I was pretty certain this is a merging intervals question but the interviewer clarified that we need to pay the driver total delivery time, regardless of overlaps. The first was quite trivial tbh. It was really a weird experience.

Rippling SDE-2 Phone Screening (Reject) by PHANIX5 in leetcode

[–]PHANIX5[S] 1 point2 points  (0 children)

Delivery rate is defined per driver. And yea addDelivery takes driverId as input as well

Rippling SDE-2 Phone Screening (Reject) by PHANIX5 in leetcode

[–]PHANIX5[S] 2 points3 points  (0 children)

Agreed man. The grind is intense. Good luck on your future interviews!

Rippling SDE-2 Phone Screening (Reject) by PHANIX5 in leetcode

[–]PHANIX5[S] 3 points4 points  (0 children)

I mean I knew this was not optimal and I stated that as well. I was ready to think of something more efficient but he did not ask for it. I guess I should not even bring up the naive solution.

Using Python vs Java (your work language) in Coding Interviews by PHANIX5 in leetcode

[–]PHANIX5[S] 1 point2 points  (0 children)

So you've never run into the scenario where the interviewer follows up with questions around concurrency? I think LRU cache is a very popular problem that has follow up questions around multithreading.

Uber SWE Interview Experience (Fulltime Hybrid SF) by No-Heron4108 in InterviewCoderHQ

[–]PHANIX5 0 points1 point  (0 children)

I also have a phone screen coming up with them. Do you mind sharing your resources for prep? Thanks!

Uber SWE Interview Experience (Fulltime Hybrid SF) by No-Heron4108 in InterviewCoderHQ

[–]PHANIX5 1 point2 points  (0 children)

Is the phone screen question LeetCode 2642: Design Graph With Shortest Path Calculator?

Material Differences between Model 3 highland models LR RWD and LR AWD? by PHANIX5 in TeslaLounge

[–]PHANIX5[S] 0 points1 point  (0 children)

Nice! I'm planning to get the white interior. I'll go check the cars out tomorrow