DEV Community

Daniel
Daniel

Posted on

VR Mock Coding Interview - Nearly Sorted Array - Fail

Check out a VR Mock Coding Interview HERE and see below for a breakdown. Watching other mock interviews is a good way to familiarize yourself with technical interviews. If you are looking for mock interviews, feel free to join our discord and I can match you with someone within 24 hours!

Overall: 3/5
Breakdown

  • Coding - 4
  • Communication - 4
  • Problem Solving - 2
  • Inspection - 2
  • Review - 3

What they did well

  • Started asking clarifying questions
  • Wrote out his inputs
  • Asked clarifying questions about K
  • Wrote out an example
  • Had good intuition around using K to only look at sub arrays
  • Thoughts all made sense and was easy to follow along
  • Able to get to a runtime of O(NK)
  • Able to confidently speak about his code
  • Able to intelligently code
  • Worked through your example, you can do this more explicitly
  • Questions were good.

What could be better

  • Missed the nearly sorted requirement
  • Asks am I on the right track?
  • Didn’t mention a simple brute force solution
  • Got quite when thinking through solutions
  • Needed a hint to get to thinking about it correctly
  • Hint: Needed a hint to think about what would go in the first position
  • Didnt register the hint well
  • Quietly thinking
  • Spending too much time on thinking
  • Had issue identifying that he needed the min even after hint
  • “do you want me to code it” without defining runtime, without defining space and
  • Never mentioned space time
  • Specifed an incorrect runtime, multiply times, First said N, then said N^2. Lack of confidence when speaking about runtime.
  • DIdnt know the runtime of mergesort
  • Frustrated gasp (Never do this)
  • Hint: How can you quickly find the smallest element of the subset
  • Wasn’t grasping a heap, or the ideas around it
  • Got quiet when coding
  • Keep getting quiet even when asking
  • Got lost in his own code for a few seconds
  • No way I could read the code

Other Mock Interview Resoures:

How to get value out of your mock interviews

Why mock coding interviews are important

Join the Community

Hackpack is the most hyperactive community of engineers studying for programming interviews. Apply today

Interview Tips Newsletter

Top comments (0)