ServiceNow Interview Experience SDE-2
- Interviewer: Staff SDE with 11 years experience
- https://www.geeksforgeeks.org/find-index-maximum-occurring-element-equal-probability
- 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
- Wanted me to share screen and code in the IDE to check coding style:
- Asked to reverse the words in a sentence.
- Find frequency of characters in a sentence and print in alphabetical order
- Discussions on current work details, project, salary. Expectations regarding work / programming language constraints if any.
- Design and Coding Round: 1hr
Senior Software Engineer with 9 years of experience
- https://www.geeksforgeeks.org/flattening-a-linked-list
- Design a Coffee Vending Machine (https://stackoverflow.com/questions/1127478/how-to-approach-design-problems-like-design-a-vending-machine)
- 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
- Result: Offered