ServiceNow Software Engineer Interview Experience
Software Engineer
Summary
AI Powered
The interview process at ServiceNow consisted of four rounds with a focus on technical and behavioral assessments. Candidates faced a variety of coding questions related to data structures and algorithms in the first two rounds, followed by system design in the later stages. The interview overall was moderately challenging, requiring a solid understanding of data structures and conceptual knowledge in programming, especially JavaScript.
1
#1Remove Nth Node from Linked List
Medium
linked-list
twopointers
algorithm
Given a linked list, remove the Nth node from the end of the list. The solution should maintain a linear time complexity and constant space complexity. Provide the implementation details and discuss edge cases.
#1
Remove Nth Node from Linked List
Given a linked list, remove the Nth node from the end of the list. The solution should maintain a linear time complexity and constant space complexity. Provide the implementation details and discuss edge cases.
linked-list
twopointers
algorithm
Medium
#2Best Time to Buy and Sell Stock
Medium
array
dynamic-programming
stock
You are given an array where each element represents the price of a stock on a given day. Write an algorithm to determine the maximum profit you can achieve by buying on one day and selling on another. Discuss the constraints and provide examples.
#2
Best Time to Buy and Sell Stock
You are given an array where each element represents the price of a stock on a given day. Write an algorithm to determine the maximum profit you can achieve by buying on one day and selling on another. Discuss the constraints and provide examples.
array
dynamic-programming
stock
Medium
2
#1Detect Cycle in a Linked List
Medium
linked-list
cycle-detection
algorithm
Write a function to determine if a linked list has a cycle in it. If there is a cycle, return the node where the cycle begins. Discuss the approach and the time complexity of your solution.
#1
Detect Cycle in a Linked List
Write a function to determine if a linked list has a cycle in it. If there is a cycle, return the node where the cycle begins. Discuss the approach and the time complexity of your solution.
linked-list
cycle-detection
algorithm
Medium
#2Find Node Where Cycle Begins
Medium
linked-list
cycle-detection
algorithm
Given a linked list with a cycle, write a method to find and return the node at which the cycle begins. Discuss the logic behind your approach, including any flowchart or diagram if necessary.
#2
Find Node Where Cycle Begins
Given a linked list with a cycle, write a method to find and return the node at which the cycle begins. Discuss the logic behind your approach, including any flowchart or diagram if necessary.
linked-list
cycle-detection
algorithm
Medium
#3JavaScript Conceptual Questions
Medium
javascript
closures
theory
Discuss the concepts of closures and the 'this' keyword in JavaScript. Provide examples that highlight their behavior in different scopes.
#3
JavaScript Conceptual Questions
Discuss the concepts of closures and the 'this' keyword in JavaScript. Provide examples that highlight their behavior in different scopes.
javascript
closures
theory
Medium
3
#1String-Based Coding Question
Easy
string
palindrome
algorithm
Given a string, write a function to determine if it is a palindrome. Discuss the approach and any constraints you need to consider, such as case sensitivity.
#1
String-Based Coding Question
Given a string, write a function to determine if it is a palindrome. Discuss the approach and any constraints you need to consider, such as case sensitivity.
string
palindrome
algorithm
Easy
#2Discussion on Past Experience
Easy
experience
behavioral
discussion
Share your experiences with previous projects, focusing on the challenges faced during development and how you overcame them. Highlight any key learnings that are relevant to the role you're applying for.
#2
Discussion on Past Experience
Share your experiences with previous projects, focusing on the challenges faced during development and how you overcame them. Highlight any key learnings that are relevant to the role you're applying for.
experience
behavioral
discussion
Easy
4
#1System Design: Design a Database for a Multi-Stage System
Medium
system-design
database
Design a database schema for a system that manages entities with multiple stages, evaluations, and results over time, supporting repeated attempts and outcomes at different stages. Discuss your design choices and any trade-offs involved.
#1
System Design: Design a Database for a Multi-Stage System
Design a database schema for a system that manages entities with multiple stages, evaluations, and results over time, supporting repeated attempts and outcomes at different stages. Discuss your design choices and any trade-offs involved.
system-design
database
Medium
#2Discussion on Past Experience
Easy
experience
behavioral
discussion
Discuss your past work experiences and how they relate to this position. Focus on your contributions, team dynamics, and what you learned from previous roles.
#2
Discussion on Past Experience
Discuss your past work experiences and how they relate to this position. Focus on your contributions, team dynamics, and what you learned from previous roles.
experience
behavioral
discussion
Easy
#3Behavioral Questions
Easy
behavioral
star-method
Prepare for behavioral questions such as 'Tell me about a time when you faced a difficult challenge.' Discuss the STAR method (Situation, Task, Action, Result) for structuring your answers.
#3
Behavioral Questions
Prepare for behavioral questions such as 'Tell me about a time when you faced a difficult challenge.' Discuss the STAR method (Situation, Task, Action, Result) for structuring your answers.
behavioral
star-method
Easy
A
Anonymous
Anonymous User