2021 microsoft USA fresh grad
Question · Posted Apr 2021
nterview (4 hours) Round 1: Tell me about yourself (2 min). Tell me about a challenging situation in your professional career. (and one follow up). Given few sorted arrays and he asked me to merge these arrays into one array such that the resulting array should be sorted. Input: [1,4,5], [1,3,4], [2,6] Output: [ 1, 1, 2, 3, 4, 4, 5, 6] Like merge k sorted lists. Can be solved using brute force approach or two pointers approach or Linked ...
The full answer & interview discussion are available to premium members.
Log in Create a free account