Preparing for an interview? Check out Cracking the Coding Interview
Published on

ServiceNow | IC3 | Offer

Author
  • Shared Anonymously

I applied for ServiceNow through LinkedIn job postings and the recruiter contacted me within ~3 weeks. The interview process was incremental i.e candidate will move to next rounds only if he clears current one. I had three rounds of interview.

1 Round (DSA & Technical)
The interviewer asked one DSA question and java question. They were easy.
a. DSA - Swap numbers in Linked List
b. Save Employee data into a data structure in order of salary (solved using comparator)
c. Simple SQL question to sum of salaries of employees grouped by dept and ordered by salary desc.
They was some discussion on projects and java concepts like exception handling etc.

2 Round (DSA & Problem Solving)
This round was focused more on problem solving. The interviewer gave me DSA question and one problem solving question
a. DSA - Given array of integers find largest possible number formed by re-arranging the integers in the array (easy-medium)
b. Problem(not coding) - Given three boxes with labels on top. One container has apples, other has oranges, and other has apples+oranges. All the labels are wrong. We can pick one box at a time and check the contents of the box. What is the minimum picks required to determine contents in all boxes and why? Interview was more interested in the approach and how we derive the answer.
3 Round (DSA & LLD & Managerial)
The interviewer started with an LLD question similar to MRU. The discussion was more on what data structures to use, why and complexities (time & space). Later he asked a DSA question.
a. DSA - Given a array of integers in which element has integer with diff of 1 as adjacent element. Within this we have to find an element with minimum number of steps.
I was able to solve the DSA but, I thought interviewer was not satisfied with my answer for LLD. But, luckily I was selected.

Later HR contacted me for compensation discussion (In progress).
Reference here for compensation: compensation

ReportMark as Helpful