Microsoft | SE1/SE2 | Nov 2021 | India (Rejected)
Anonymous User
746

Round 1:

  1. compare version of build. Return latest build. Example- String1= 2.3.1 String2= 3.1 Output-3.1
  2. Singly Linkedlist with duplicates nodes. Remove all nodes whose duplicate exists. Example- 1-> 2-> 2-> 3-> 4-> 4-> 5. Output- 1->3->5
    Round 2:
  3. Rotate 2D square matrix 90 degree clockwise
  4. There is an array of integers. Rearrange the elements such that unit position value of an element is equal to last position value of previous element. Example- 45, 69, 56, 7, 74. Output- 7,74,45,56,69
  5. LLD of Online Snake and Ladder game.
Comments (3)