Open In App

ServiceNow Interview Experience for Associate Software Engineer (On-Campus)

Round 1(Online Coding Round – Hackerrank Platform): This round consisted of 1 Coding question and 15 Multiple choice questions. This round lasted for 60 minutes. One cannot switch between tabs during the test. Also, Webcam snapshots will be taken periodically.

The Coding Question:



Count distinct pairs with given sum:

Given an array arr[] of size N and an integer K, the task is to find the count of distinct pairs in the array whose sum is equal to K.



Input: arr[] = { 5, 6, 5, 7, 7, 8 }, K = 13 
Output: 2 
Explanation: 
Pairs with sum K( = 13) are { (arr[0], arr[5]), (arr[1], arr[3]), (arr[1], arr[4]) }, i.e. {(5, 8), (6, 7), (6, 7)}. 
Therefore, distinct pairs with sum K( = 13) are { (arr[0], arr[5]), (arr[1], arr[3]) }. 
Therefore, the required output is 2.

Round 2(Technical Interview 1 – 60 Mins):

I was able to solve all the problems with ease, the interviewer was quite impressed.

Round 3(Technical Interview 2 – 60 Mins):

I was able to solve all the problems and it was a very good experience. The Interviewer helped me when I was stuck solving Version – 1 of the Key-pad problem.

Round 4(HM Interview Round – 90 Minutes):

Basic HR Questions

Some Technical Stuff

Again, the interviewer was quite impressed, it was a very friendly and healthy conversation.

Some key takeaways:

Verdict: Selected for Associate Software Engineer Role

Article Tags :