Servicenow Array Coding Interview Questions
32 array coding problems are tagged as asked at Servicenow in interviews and online assessments reported by candidates. By difficulty they split into 5 basic, 22 intermediate and 5 advanced. The topics they most often combine with are Sorting, Sliding Window, Hash Table, Monotonic Stack.
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)
- 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)
- Sort Colors (Basic)
- Daily Temperatures (Intermediate)
- Target Sum (Advanced)
- Merge Intervals (Intermediate)
- Fruit Into Two Baskets (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)
- 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)
Related
- Servicenow coding interview questions
- Array problems
- Servicenow basic problems
- Servicenow intermediate 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.