Preparing for an interview? Check out Cracking the Coding Interview
Published on

DoorDash E4 Technical Phone Screen

Author
  • Shared Anonymously

Problem: https://leetcode.com/problems/serialize-and-deserialize-binary-tree/solutions/4897216/simple-java-solution-with-93-beats/
+follow up which I didn't get to

Platform: HackerRank codepair
Zoom: Video call (no screen-share)

Chances of next round - slim to none

Interviewer was a Tech lead from the drive team. Was 5 minutes late and seemed bored and un-interested to begin with. Wrote a bare minimum question asking me to serialize and deserialize a binary tree. Asked me to define a class for the tree, then asked me to implement two methods (serialize and deseiralize), then asked me to write test cases, then asked me to run by serializing and then adding the output to the deserializing. Okay, WHAT THE FUCK. 45 mins to do this in a technical phone screen when I hadn't even seen this question before, seem too excesive.

The thing is, I wrote, the class, I wrote the methods, I wrote the test cases, the seriazlized worked, there were edge cases which I solved, there were errors which I corrected, but with 5 minutes remaining, my deserialize method shat its pants and was unable to deserialize the output of the serialized method.

I mean, at this point I consider this as a huge win. I did more than I thought I could.

I gave technical phone screen for Amazon (I worked there for a year), and I was asked FizzBuzz. Fucking FizzBuzz. Doordash seems to be in dreamland if they expect people to solve leetcode hards while writing all the classes, edgecases, tests, and outputs.

Oh oh oh, she said there was a follow-up as well if I solved this. I was like, man, who sent her here

I hope no one else has to go through this.

ReportMark as Helpful