servicenow logo
ServiceNow· SDE II

Service Now - SSE

Result
Rejected
Posted
4 Jun 2024
365 reads

Summary

I interviewed for a Software Staff Engineer (SSE) role at ServiceNow and unfortunately faced rejection after the second round. The interview process focused heavily on Data Structures and Algorithms, covering both well-known problems and a custom array partitioning challenge.

How it went

I recently interviewed for the SSE position at ServiceNow, which consisted of two rounds, primarily focusing on Data Structures and Algorithms.

Round 1: This round involved solving two DSA questions. I was asked to implement solutions for Spiral Matrix and Number of Islands. I successfully solved both problems and was advanced to the next round.

Round 2: In this round, I was presented with a custom array partitioning problem. Despite my efforts, I was not able to clear this round and received a rejection. A key takeaway from my experience is that they place a significant emphasis on the correctness and output of solutions in each round.

Questions asked (3)

  1. 01

    Spiral Matrix

    Data Structures & Algorithms · Medium

    Given an m x n matrix, return all elements of the matrix in spiral order. For example, given [[1,2,3],[4,5,6],[7,8,9]], the output should be [1,2,3,6,9,8,7,4,5].

    Open the problem
  2. 02

    Number of Islands

    Data Structures & Algorithms · Medium

    Given an m x n 2D binary grid which represents a map of '1's (land) and '0's (water), return the number of islands. An island is surrounded by water and is formed by connecting adjacent lands horizontally or vertically. You may assume all four edges of the grid are all surrounded by water.

    Open the problem
  3. 03

    Partition Array into Three Equal Sum Subarrays (Excluding Partition Elements)

    Data Structures & Algorithms

    You are given an array of integers. You need to partition the array into three subarrays such that the sum of each subarray is equal. An important constraint is that the elements at the partition points should not be considered part of any subarray.

    Example: If the input array is [1,2,1,2,1,2,1] and you partition at indices 1, 3, and 5, you would get three subarrays whose sums are 1 each ([1], [1], [1]). In such a case, you should return true. Otherwise, return false.

Know someone preparing? Send it to them:WhatsAppLinkedInX

Interviewed at ServiceNow recently?

Write up your rounds while you still remember the questions. It helps the next person more than you would think.

Share your experience
Discussion 0

Questions for the author, or how your own interview compared.

Join the discussion

Sign in with Google to comment or ask the author a question.

No comments yet

Be the first to share your thoughts and start the discussion!