Skip to content
Related Articles

Related Articles

Improve Article

ServiceNow Interview Experience (On-Campus)

  • Last Updated : 07 Dec, 2018

ServiceNow came to our college for campus recruitment. The first round was  MCQ  test. Then after shortlisting there was another online test. There were two programs- infix evaluation and one more .

1st Round

There were two questions :

There is an xml file given to you and now how you will search in this . There were so many tags given to you in this file suppose of books tag, name tag, price tag and many more tags and now you have to search  for a particular book and also you have to take care of indentation too.

Another problem was on how will you detect a sine wave in a matrix of 0s and 1s in which rows will be only 3 but column can be any number. Now write a program that how you will detect the sine wave.



2nd Round (Technical)

Long discussion on oops concept(pure virtual function, abstract class, interface in java, singleton class implementation), coin change problem, radix sort implementation.

3rd Round (Technical) :
https://www.geeksforgeeks.org/sliding-window-maximum-maximum-of-all-subarrays-of-size-k/
In o(n) complexity.

https://www.geeksforgeeks.org/find-a-triplet-that-sum-to-a-given-value/

In o(n2) complexity.
https://www.geeksforgeeks.org/find-the-missing-number/

he changed the problem for 2 number as well.

HR Round
Questions was about me .

Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready. To complete your preparation from learning a language to DS Algo and many more, please refer Complete Interview Preparation Course. In case you are prepared, test your skills using TCS, Wipro, Amazon. GoogleE-Litmus and Microsoft Test Serieses.

My Personal Notes arrow_drop_up
Recommended Articles
Page :