ServiceNow Interview Experience SDE-2

  1. Interviewer: Staff SDE with 11 years experience
  1. https://www.geeksforgeeks.org/find-index-maximum-occurring-element-equal-probability
  2. Do this for n-ary tree: https://www.geeksforgeeks.org/print-binary-tree-vertical-order-set-2

2.Hiring Manager Round: 1hr

Engineering Manager with 13 years of exp

  1. Wanted me to share screen and code in the IDE to check coding style:
    1. Asked to reverse the words in a sentence.
    2. Find frequency of characters in a sentence and print in alphabetical order
  1. Discussions on current work details, project, salary. Expectations regarding work / programming language constraints if any.
  1. Design and Coding Round: 1hr

Senior Software Engineer with 9 years of experience



  1. https://www.geeksforgeeks.org/flattening-a-linked-list
  2. Design a Coffee Vending Machine (https://stackoverflow.com/questions/1127478/how-to-approach-design-problems-like-design-a-vending-machine)
  1. Coding Round: 30 mins

Code and run in online editor. The code has to run within 30 mins with the test cases the interviewer will provide.

https://www.geeksforgeeks.org/add-two-numbers-represented-by-linked-lists

  1. Result: Offered


Write your Interview Experience or mail it to contribute@geeksforgeeks.org



My Personal Notes arrow_drop_up


If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.