The process took 6 weeks. I interviewed at ServiceNow (Sunnyvale, CA)
Interview
Run away from this place. They put you through a very high number of interviews. In essence, they are looking for free consulting and/or they will use you as a benchmark candidate. Not cool.
I applied through a staffing agency. The process took 1+ week. I interviewed at ServiceNow (New Delhi) in Dec 2021
Interview
The first round was based on DS and Algo questions. I was asked 3 questions in total. I gave correct answers to 2 questions. But, still got rejected. They gave a silly reason saying I forgot to write one edge case. The interviewer was not interactive. He just gave questions and turned off his camera to continue his work.
Interview questions [3]
Question 1
Variation of the problem : Find the first occurred 1 in a sorted 2D matrix which contains only 0's and 1's
I applied through other source. I interviewed at ServiceNow (Bengaluru) in Aug 2021
Interview
The whole interview process was based on algo and DS.
All 3 rounds of the interview were done on the same day.
About 5 problems were asked in total and also a few aptitude based questions were asked, based on probability and geometry.
Interview questions [1]
Question 1
1) Spiral printing of a binary tree
2) Number of ways to reach Nth step if you are permitted to take 1, 2 and 3 steps
3) Given a string find the length of the longest substring having consecutive characters. Eg: abcwxyz, here the ans is 4 because of the substring wxyz.
4) Find diameter of a tree. (it may be any tree... not restricted to binary tree)
5) Given N points, find the most number of points which are on a straight line. i.e they are collinear. (these points are not necessarily axis aligned, they may be diagonal as well).