Open In App

ServiceNow Interview Experience (On-Campus)

Improve
Improve
Improve
Like Article
Like
Save Article
Save
Share
Report issue
Report

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 .


Last Updated : 07 Dec, 2018
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads