Servicenow Coding Interview Questions
52 coding problems are tagged as asked at Servicenow in interviews and online assessments reported by candidates. By difficulty they split into 13 basic, 33 intermediate and 6 advanced. The topics they most often combine with are Array, String, Sorting, Sliding Window.
Reported questions change over time and are not a guarantee of what you will be asked, so use the list to see which patterns Servicenow tends to test. For each problem, practise explaining your approach, its time and space cost and the edge cases before you write the code; every problem opens in an editor that runs your code against test cases.
Coding problems
- Two Sum (Basic)
- Best Time to Buy and Sell Stock (Basic)
- Maximum Subarray (Intermediate)
- Valid Parentheses (Basic)
- Longest Substring Without Repeats (Intermediate)
- Product of Array Except Self (Intermediate)
- Move Zeroes (Basic)
- Coin Change (Intermediate)
- Kth Largest Element (Intermediate)
- Subarray Sum Equals K (Intermediate)
- Container With Most Water (Intermediate)
- Trapping Rain Water (Advanced)
- Longest Palindromic Substring (Intermediate)
- Sort Colors (Basic)
- Daily Temperatures (Intermediate)
- Reverse Words in a String (Basic)
- Longest Common Subsequence (Advanced)
- Target Sum (Advanced)
- Merge Intervals (Intermediate)
- Fruit Into Two Baskets (Intermediate)
- Zigzag Conversion (Intermediate)
- Maximum Product Subarray (Intermediate)
- Subarray Sum Equals K (Intermediate)
- Best Time to Buy and Sell Stock II (Intermediate)
- House Robber II (Intermediate)
- Next Permutation (Intermediate)
- Gas Station (Intermediate)
- Container With Most Water (Intermediate)
- Top K Frequent Values (Intermediate)
- LRU Cache Operations (Basic)
- LFU Cache Operations (Intermediate)
- Count Distinct Islands Shapes (Basic)
- Reverse Linked List (Basic)
- Merge Two Sorted Lists (Basic)
- Palindrome Linked List (Basic)
- Binary Tree Right Side View (Intermediate)
- Number of Islands (Basic)
- Rotting Oranges (Intermediate)
- Pacific Atlantic Water Flow (Intermediate)
- String Compression (Basic)
- Simplify Path (Intermediate)
- Asteroid Collision (Intermediate)
- Number of Visible People in a Queue (Advanced)
- Jump Game II (Intermediate)
- Sliding Window Maximum Values (Advanced)
- Single Element in a Sorted Array (Intermediate)
- Median of Two Sorted Arrays (Advanced)
- Combination Sum (Intermediate)
- Letter Combinations of a Phone Number (Intermediate)
- Parentheses String Can Be Valid (Intermediate)
- Minimum Swaps to Make the String Balanced (Intermediate)
- Longest Repeating Character Replacement (Intermediate)
Related
- Servicenow basic problems
- Servicenow intermediate problems
- Servicenow Array problems
- Servicenow String problems
- Company interview roadmaps
- All interview guides
Frequently asked questions
How should I use the Servicenow problem list?
Start with the basic problems, then the intermediate and advanced ones, and note which topics repeat. Solve each under a timer, then read the explanation.
Are these the exact Servicenow interview questions?
They are problems candidates reported being asked. Companies rotate questions, so use them to learn the patterns, not to predict the exact question.