ServiceNow Interview Experience (On-Campus)

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 .

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



My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

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.