203 questions · from 38 interviews · 2 asked more than once
ServiceNow interview questions
Every question candidates reported from their ServiceNow interviews, most frequently asked first. Each links to the write-up it came from, so you can see the round and how it went.
ServiceNow coding and DSA questions
- 01
Copy List with Random Pointer
Given a linked list where each node contains an additional random pointer which could point to any node in the list or null, return a deep copy of the list.
Medium · Asked 3 times · From Senior Software Engineer - Frontend Developer | ServiceNow | Interview Experience (Feb 2026)
- 02
Jump Game II
The problem can be found at the provided LeetCode link.
Asked 2 times · From ServiceNow Staff Software Engineer Interview experience
- 03
Merge Intervals
Given an array of intervals where intervals[i] = [starti, endi], merge all overlapping intervals, and return an array of the non-overlapping intervals that cover all the intervals in the input.
From Senior Software Engineer - Frontend Developer | ServiceNow | Interview Experience (Feb 2026)
- 04
Text Justification
The problem can be found at the provided LeetCode link.
From ServiceNow Staff Software Engineer Interview experience
- 05
Minimum Window Subsequence
The problem can be found at the provided LeetCode link.
From ServiceNow Staff Software Engineer Interview experience
- 06
Disjoint Set (Union-Find) Problem
A problem based on the Disjoint Set (Union-Find) data structure.
- 07
Interval Merging/Scheduling Problem
An interval-based problem, likely involving merging or scheduling scenarios.
- 08
Reverse Linked List II
Given the head of a singly linked list and two integers left and right where left <= right, reverse the nodes of the list from position left to position right, and return the reversed list.
Medium · From ServiceNow - SDE -1 College Online Assessment
- 09
Remove Duplicates from Sorted List II
Given the head of a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list. Return the linked list sorted as well.
Medium · From ServiceNow - SDE -1 College Online Assessment
- 10
Insertion Sort List
Given the head of a singly linked list, sort the list using insertion sort, and return the head of the sorted list.
Medium · From ServiceNow - SDE -1 College Online Assessment
- 11
Count Negative Numbers in a Sorted Matrix
Given a m x n matrix grid which is sorted in non-increasing order both row-wise and column-wise, return the number of negative numbers in grid.
Easy · From ServiceNow - SDE -1 College Online Assessment
- 12
Check for Anagrams
Determine if two given strings are anagrams of each other.
- 13
Find the Duplicate Number
Find the duplicate number in an array. (LeetCode 287).
Medium · From ServiceNow Internship Experience (QA → ML → ???)
- 14
HashMap Scheduling Logic
The problem involved applying HashMap data structure principles combined with scheduling-based logic to solve a coding challenge. It was pretty straightforward.
Medium · From ServiceNow QA Intern OA | Complete Breakdown (Tier-3 | College Shortlist)
- 15
Split Array Largest Sum
Given an array nums which consists of non-negative integers and an integer k, you need to split the array into k non-empty continuous subarrays. Write an algorithm to minimize the largest sum among these k subarrays.
Hard · From ServiceNow | IC2 | Interview
- 16
Degree of an Array
Given a non-empty array of non-negative integers nums, the degree of this array is defined as the maximum frequency of any one of its elements. Your task is to find the smallest possible length of a (contiguous) subarray of nums that has the same degree as…
Medium · From ServiceNow | IC2 | Interview
- 17
Linked List API with Duplicate Removal and Sublist Reversal
I was asked to code up a linked list and add multiple APIs to support use cases such as modifying the list by removing all duplicates, and reversing a sublist given a start and end index.
- 18
Max Profit from Stock Transactions (at most 2, then k)
Given a list of stock prices, find the maximum profit if at most 2 transactions are allowed. The interviewer wanted me to write the recursive solution first and then optimize it later. The follow-up was to extend this to max 'k' transactions.
Hard · From ServiceNow USA Staff Offer
- 19
Lowest Common Ancestor in Company Hierarchy
Given a company hierarchy in the form of a binary tree, find the most relevant common department, which translates to finding the Lowest Common Ancestor. The follow-up discussion was about how to handle this if the tree was an N-ary tree.
Medium · From ServiceNow USA Staff Offer
- 20
Find Disconnected Components in a Graph
Find and identify all disconnected components within a given graph.
From ServiceNow | Staff Engineer | Interview Experience | Hyd | Data Analytics Team
- 21
Number of Paths in a Grid with Obstacles
Given a grid that may contain obstacles, find the number of unique paths from the top-left corner to the bottom-right corner. Obstacles block paths.
From ServiceNow | Staff Engineer | Interview Experience | Hyd | Data Analytics Team
- 22
Generate Parentheses
Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.
Medium · From ServiceNow | SSE | R-1
- 23
All Paths From Source to Target
Given a directed acyclic graph (DAG) of n nodes labeled from 0 to n - 1 , find all possible paths from node 0 to node n - 1 , and return them in any order.
Medium · From ServiceNow | SSE | R-1
- 24
Remove Nth Node From End of List
Given the head of a linked list, remove the nth node from the end of the list and return its head.
Medium · From Servicenow Interview Experience (IC2)
- 25
Linked List Cycle
Given head, the head of a linked list, determine if the linked list has a cycle in it.
Easy · From Servicenow Interview Experience (IC2)
75 more in the ServiceNow write-ups.
ServiceNow system design questions
- 01
Design a Nested Comments System
Design a Nested Comments system focusing on component structure, data flow and recursion, and handling deeply nested comment threads.
From Senior Software Engineer - Frontend Developer | ServiceNow | Interview Experience (Feb 2026)
- 02
Build an Autocomplete Search Component
Implement an Autocomplete Search component with debouncing, API handling, and appropriate UX considerations such as loading and empty states.
From Senior Software Engineer - Frontend Developer | ServiceNow | Interview Experience (Feb 2026)
- 03
Design a Notification Panel for a Web App
Design a Notification Panel for a web application, covering component structure (modular design), state management strategy, data fetching & API interaction, and handling loading states, real‑time updates, and data consistency.
From Senior Software Engineer - Frontend Developer | ServiceNow | Interview Experience (Feb 2026)
- 04
Render 100k Messages Efficiently
Discuss strategies to efficiently render a list containing 100,000 messages in a web UI, focusing on list virtualization, support for dynamic item heights, and proper scroll management.
From Senior Software Engineer - Frontend Developer | ServiceNow | Interview Experience (Feb 2026)
- 05
Design Loan Management System (LLD)
Design a Loan Management System where customers can take loan and see the monthly EMI for the entire loan period (including days beyond current date). The customers can pay advance amounts as well which will change the EMI for the upcoming period that should…
From ServiceNow Staff Software Engineer Interview experience
- 06
Design Incident Management System (HLD)
Design an Incident Management system which can be shipped to external Clients (ex: Amazon type e-commerece site) Requirements: CRUD on incidents All DB tables, indexes, query patterns How will the incident be routed to the right team ? The team information is…
From ServiceNow Staff Software Engineer Interview experience
- 07
Design an Attendance Management System
Designed an Attendance Management System. The discussion covered entities, APIs, data flow, and handling specific scenarios such as multiple check-ins and late entries. Emphasis was placed on logic correctness rather than extensive OOP theory.
- 08
Product Review Sentiment Analysis System Design
Design a system where a user submits a product review. The system determines if the review is positive or negative. If positive, redirect to a thank-you page. If negative, create a ticket and then redirect. Constraints included language: Java.
Hard · From ServiceNow Internship Experience (QA → ML → ???)
- 09
Design an Analytics Platform
Design an analytics platform capable of moving data from diverse sources such as MongoDB and RDS into an OLAP database for efficient analytical querying. The discussion should cover data ingestion pipelines, ETL processes, and strategies for query…
From ServiceNow | Staff Engineer | Interview Experience | Hyd | Data Analytics Team
- 10
Design a Web Crawler
Design a scalable and robust web crawler system.
From ServiceNow | Staff Engineer | Interview Experience | Hyd | Data Analytics Team
- 11
Design Database for Multi-Stage Evaluation System
Design a database for a system that manages entities with multiple stages, evaluations, and results over time, supporting repeated attempts and outcomes at different stages.
Hard · From Servicenow Interview Experience (IC2)
- 12
Design a Book Lending System
Design a Low-Level Design (LLD) for a book lending system.
- 13
Design a Notification System
Design a High-Level Design (HLD) for a notification system. This involved follow-up questions related to technologies not on my resume, as the interviewer seemed interested in the tech used in their own system.
- 14
Optimizing API Latency with AWS Lambda
If an API integrated with a Lambda is experiencing high latency, what could be the issue causing high latency if there is no issue on the Lambda side? How would you optimise your API if you are not allowed to improve memory/performance on the lambda side.
- 15
Design Instagram
System design question focused on designing Instagram.
- 16
Design Database Schema and APIs for Credit/Debit Transactions
Design database schema and APIs for handling Credit and Debit transactions in a bank.
- 17
Design Configurable/Reusable Table Component (UI System Design)
Design a configurable/reusable table component. The discussion focused on considerations for flexibility, the component's contract (API), and handling complex cells within the table.
- 18
Design a Messaging Service
Design a messaging service, including its APIs, database schema and queries, and basic code to process certain pieces of logic in these APIs.
Hard · From Servicenow - IC3 Interview Experience
- 19
Low-Level Design of BookMyShow
Low-level design discussion for BookMyShow for movies in India.
From SSE @ ServiceNow
- 20
Handling High Concurrent Requests in Spring Boot
Explain what happens on the server when a user sends 100 requests concurrently, and how these requests are processed within a Spring Boot application.
- 21
Limiting Request Data Size
How do you limit the amount of data size in a request? I demonstrated using page number and size parameters in the request.
- 22
Handling Service Timeouts with Circuit Breaker
What measures would you take for scenarios where a called service does not respond due to reasons like a timeout?
- 23
Deep Dive into Circuit Breaker Pattern
Explain how the Circuit Breaker pattern helps. Why is it needed when an HTTP 500 error response can indicate a service failure? Discuss its advantages.
- 24
Service Deployment Platforms
Discuss the platforms where you have deployed your services.
- 25
Microservices vs. REST API
Explain what Microservices and REST APIs are, and discuss their differences.
24 more in the ServiceNow write-ups.
ServiceNow behavioural and HR questions
- 01
Discussion on Microservices Project Experience
Discuss my previous project experience involving Microservices.
- 02
Motivation for Joining ServiceNow
Answer managerial questions such as how I know about ServiceNow and why I want to join.
- 03
Anti-Engineering Experience
Describe a time when you engaged in 'anti-engineering' practices and explain your rationale for doing so.
- 04
Day-to-day Role Discussion
Discussed my daily activities, emphasizing key responsibilities and achievements in my current role.
From Interview | Software Quality Engineer | IC2 | ServiceNow
- 05
Terminal Proficiency
Discuss proficiency and comfort with using the terminal for various tasks, including file management, process control, and system administration.
From Interview | Software Quality Engineer | IC2 | ServiceNow
- 06
Previous Work Experience and Contributions
Discuss prior experience and contributions in previous organizations, highlighting relevant projects and achievements.
From Interview | Software Quality Engineer | IC2 | ServiceNow
ServiceNow other questions
- 01
Design Test Cases for E-commerce Cart
Write test cases for an Amazon-like product cart system.
- 02
Software Development Life Cycle (SDLC) Concepts
Questions related to the Software Development Life Cycle (SDLC).
- 03
QA and Testing Workflows
Questions related to QA and testing workflows.
- 04
Sarcasm Handling in NLP
Discussion on handling sarcasm in natural language processing.
- 05
JVM Internals
Questions about Java Virtual Machine (JVM) internals.
- 06
Memory Management Concepts (Java)
Questions on memory management, likely in the context of Java.
- 07
String vs StringBuilder and String Constant Pool
Discussion on the differences between String and StringBuilder, and concepts related to the String Constant Pool (SCP).
- 08
Thread Safety Concepts
Questions on thread safety.
- 09
- 10
Spring Boot Concepts
Questions related to Spring Boot framework.
- 11
Automate Web Form using Selenium WebDriver in Java
I was tasked with writing Java code to automate interactions with a web form, specifically using Selenium WebDriver to perform the necessary actions. I honestly wasn't expecting a pure automation coding question.
Medium · From ServiceNow QA Intern OA | Complete Breakdown (Tier-3 | College Shortlist)
- 12
SQL Query: Joins and Aggregation with Conditions
I was presented with three database tables and had to write a SQL query involving multiple joins and aggregation functions, including GROUP BY with specific conditions. This query was pretty lengthy and slightly complex.
Hard · From ServiceNow QA Intern OA | Complete Breakdown (Tier-3 | College Shortlist)
- 13
Prompt Engineering: Mask Private Info in Emails
The final section featured a prompt engineering question. I was asked to design a solution to mask private information found in emails, acting in the capacity of a bank employee.
Medium · From ServiceNow QA Intern OA | Complete Breakdown (Tier-3 | College Shortlist)
- 14
JavaScript Promises
Explain Promise states (pending/fulfilled/rejected), usage, chaining, and async/await.
- 15
JavaScript Callbacks
Discuss callbacks as arguments for async ops, in React (event handlers, child-to-parent comm), and array methods.
- 16
React useEffect & useMemo
Give clear definitions, syntax, use cases, and sample code for useEffect and useMemo. Explain when and why to use each for performance and side effects.
- 17
JavaScript `call`, `apply`, `bind`
Compare usage, argument passing, and context binding for call, apply, and bind.
- 18
JavaScript Private Variables & Closures
Demonstrate classic closure and ES6+ class fields for private variables.
- 19
JavaScript IIFE
Explain IIFE syntax, use cases for local scope/data privacy.
- 20
JavaScript Hoisting
Clarify what’s hoisted, difference between var/let/const, TDZ.
- 21
JavaScript Synchronous vs. Asynchronous
Explain default JS sync nature, async via event loop/callbacks/promises.
- 22
Javascript Output Questions
Output based questions around Promises, setTimeout, this keyword, and || operations on different data types.
- 23
Singleton Design Pattern and its Vulnerabilities
Discussion on Design patterns, specifically the Singleton Design Pattern: how can we break it, how to make it thread safe, and questions about reflection APIs in this context.
From ServiceNow Interview Experience - Senior Software Engineer
- 24
Vaccination Dose Timing Percentage
A vaccine is administered in two doses. It is best if the doses are given between 48 and 72 days apart inclusive. Write a SQL query to return the percentage of beneficiaries who received both doses within the recommended time period, rounded to the nearest…
- 25
Characteristics of OOPS
I was asked to discuss the fundamental characteristics of Object-Oriented Programming (OOPs).
23 more in the ServiceNow write-ups.
ServiceNow interview questions FAQ
What questions are asked in ServiceNow interviews?
Candidates reported 203 distinct questions across 38 ServiceNow interviews. 100 coding and DSA questions, 49 system design questions, 6 behavioural and HR questions, 48 other questions.
Which ServiceNow interview questions are asked most often?
The most repeated are "Copy List with Random Pointer" (3 times), "Jump Game II" (2 times).
How difficult are ServiceNow interview questions?
Of the questions candidates rated, 9% were easy, 67% medium and 23% hard.