ServiceNow interview experience Real time questions & tips from candidates to crack your interview

SDE - Intern

ServiceNow
upvote
share-icon
1 rounds | 2 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 2 months
Topics: Data Structures, Pointers, Linked List, Trees, Graphs, Dynamic Programming, Back Tracking, React JS.
Tip
Tip

Tip 1 : Practise leetcode questions as much as possible.
Tip 2 : Try to come up with Optimised solution always. 
Tip 3 : Try using C++ for the online assessments.

Application process
Where: Hackerrank
Eligibility: No standing arrears.
Resume Tip
Resume tip

Tip 1 : Keep it to one side
Tip 2 : Only add the things necessary for the role that you're applying for.
Tip 3 : Don't lie in the resume and add projects related to the role.
Tip 4 : Add any volunteering work that you did.

Interview rounds

01
Round
Easy
Online Coding Test
Duration90 Minutes
Interview date21 Dec 2020
Coding problem2

It was an online assessment. I was given 2 coding questions was supposed to complete it in 90 Minutes.

1. Isomorphic Trees

Easy
32m average time
67% success
0/40
Asked in companies
MicrosoftInnovaccerAmazon

You are given two arbitrary binary trees. You need to find if both trees are isomorphic or not.

Two binary trees are said to be isomorphic with each other, if one of the trees can be obtained from the other, by performing the following operation any number of times:

Choose a node of the tree, swap its left and right subtree i.e the left subtree will become the right one, and vice versa.
Note:
1. A binary tree is a tree in which each node has at most two children.   

2. The left subtree of a node, is the tree in which the left child of the node is the root of that tree, and the same holds for the right subtree.

3. The given operation can be performed on any node at any level of the given trees.  

4. Two empty trees are also said to be isomorphic.
Try solving now

2. Minimum Number of Increments on Subarrays to Form a Target Array

Hard
45m average time
55% success
0/120
Asked in companies
AppleServiceNow

You are given two arrays “initial” and “final”. All the elements in the array “initial” are zero initially. And all the elements of the array “final” are positive integers.

You have to find the minimum number of operations to convert the “initial” array into the “final” array using the following operation:

1. In one operation, you can select any contiguous subsequence of the “initial” array and increment each value by 1.

Note :

A contiguous subsequence of a list S is a subsequence made up of consecutive elements of S. If S is {5, 15, -30, 10, -5, 40, 10} then 15, -30, 10 is a contiguous subsequence.
Try solving now

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
SDE - 1
4 rounds | 7 problems
Interviewed by ServiceNow
3463 views
0 comments
0 upvotes
Associate Software Engineer
4 rounds | 5 problems
Interviewed by ServiceNow
2243 views
0 comments
0 upvotes
SDE - Intern
3 rounds | 5 problems
Interviewed by ServiceNow
1514 views
0 comments
0 upvotes
Associate Software Engineer
3 rounds | 3 problems
Interviewed by ServiceNow
1086 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Amazon
15480 views
4 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 7 problems
Interviewed by Microsoft
15338 views
1 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Amazon
10142 views
2 comments
0 upvotes