Grab interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

Grab
upvote
share-icon
3 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Journey
I started learning to code in high school. I majored in computer science in college. I applied for software engineering jobs after college and was not selected for the first few jobs that I applied for. I kept practicing my coding skills and learning new things. I was eventually selected for an interview at Grab and was offered the job. I hope that my story will inspire others to learn about coding and to pursue a career in software engineering. It's a challenging but rewarding field, and there are many opportunities for growth and advancement.
Application story
The application journey for the Grab SDE profile was an exciting and rigorous experience. I started by submitting my application and resume through Grab's career portal. Shortly after, I was invited to take an online coding assessment to assess my programming skills. Once I passed that, I had a technical interview, during which I was asked about data structures, algorithms, and my past projects. Following the technical interview, I tackled a coding challenge that tested my problem-solving abilities. Next, I had a behavioral interview to evaluate my personality and teamwork skills. For the final round, I was invited for an in-person/virtual interview with a mix of technical and behavioral questions. The entire process was well-organized and efficient, and after completing all the rounds, I received a job offer as an SDE at Grab, which I gladly accepted. I am thrilled to be part of Grab's team and contribute to their innovative projects.
Why selected/rejected for the role?
As a relatively recent graduate or entry-level candidate, I may have had limited industry experience in developing large-scale software systems. I understand that industry experience plays a significant role in handling real-world challenges and complexities.
Preparation
Duration: 6 months
Topics: System Design, Algorithms, Dynamic Programming, Data Structures, Pointers, OOPS, OS, Computer Networks
Tip
Tip

Tip 1: Practice your coding skills
Tip 2: Research the company
Tip 3: Ask questions

Application process
Where: Hackerrank
Eligibility: 7 CGPA
Resume Tip
Resume tip

Tip 1: Showcase your achievements: Use quantifiable achievements and results to demonstrate the impact you made in your previous roles. Numbers and data help make your accomplishments more impressive.
Tip 2: Use a professional format: Use a clean and easy-to-read format with a professional font. Make sure the resume is well-structured and organized.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration90 minutes
Interview date16 Jan 2023
Coding problem2

1. Rat In A Maze

Easy
15m average time
85% success
0/40
Asked in companies
OlaIBMGoldman Sachs

You are given a starting position for a rat which is stuck in a maze at an initial point (0, 0) (the maze can be thought of as a 2-dimensional plane). The maze would be given in the form of a square matrix of order 'N' * 'N' where the cells with value 0 represent the maze’s blocked locations while value 1 is the open/available path that the rat can take to reach its destination. The rat's destination is at ('N' - 1, 'N' - 1). Your task is to find all the possible paths that the rat can take to reach from source to destination in the maze. The possible directions that it can take to move in the maze are 'U'(up) i.e. (x, y - 1) , 'D'(down) i.e. (x, y + 1) , 'L' (left) i.e. (x - 1, y), 'R' (right) i.e. (x + 1, y).

Note:
Here, sorted paths mean that the expected output should be in alphabetical order.
For Example:
Given a square matrix of size 4*4 (i.e. here 'N' = 4):
1 0 0 0
1 1 0 0
1 1 0 0
0 1 1 1 
Expected Output:
DDRDRR DRDDRR 
i.e. Path-1: DDRDRR and Path-2: DRDDRR

The rat can reach the destination at (3, 3) from (0, 0) by two paths, i.e. DRDDRR and DDRDRR when printed in sorted order, we get DDRDRR DRDDRR.
Problem approach

Step 1: Initialize an empty array or list to store the paths.

Step 2: Define a recursive function, let's call it "findPaths," that takes the current position of the rat (row and column), the size of the matrix (n), and the current path string as parameters.

Step 3: In the "findPaths" function, first, check if the rat has reached the destination (i.e. if the current position is (n-1, n-1)). If it has reached the destination, add the current path string to the array of paths and return.

Step 4: Next, check if the rat is within the boundaries of the matrix and if the cell it is currently on is not blocked (you may have some blocked cells that the rat cannot pass through). If these conditions are met, proceed with the recursive calls for all possible directions (up, down, left, and right).

Step 5: For each direction, update the current position of the rat accordingly, and append the corresponding direction character (U, D, L, or R) to the current path string.

Step 6: Make recursive calls to the "findPaths" function for each direction with the updated position and path string.

Step 7: After all recursive calls are completed, backtrack by removing the last direction character from the current path string. This step is essential for backtracking to explore all possible paths.

Step 8: Once the recursive function finishes execution, the array of paths will contain all possible paths from (0, 0) to (n-1, n-1) in the matrix.

Step 9: Return the array of paths as the final output.

Try solving now

2. Kth smallest element in an unsorted array

Moderate
15m average time
85% success
0/80
Asked in companies
DelhiveryAmazonGrab

Given an unsorted array ‘arr’ of distinct integers and an integer ‘k’, your task is to find the ‘k-th’ smallest element in the array.

Example:
n = 5, k = 2 and arr[] = {6, 5, 4, 8, 7}
The array elements in sorted order are [4, 5, 6, 7, 8]. The ‘2-nd’ smallest element in the array is 5, so the answer is 5.
Note:
1. Don’t print anything. Return the value of ‘k-th’ smallest element.
2. ‘k’ is a positive integer and not greater than the size of the array.
3. The array ‘arr’ is unsorted, and all the elements of the array are distinct.
Problem approach

Step 1: Create a Min Heap (Priority Queue) data structure. A Min Heap is a binary heap where the value of each node is greater than or equal to the values of its children. In Python, you can use the heapq module to implement a Priority Queue.

Step 2: Traverse through the array and add the first K elements to the Priority Queue.

Step 3: For the remaining elements in the array (i.e., from index K to N-1), compare the current element with the root of the Priority Queue (which is the smallest element in the heap).

Step 4: If the current element is smaller than the root, remove the root element from the Priority Queue, and insert the current element.

Step 5: After traversing through the entire array, the Kth smallest element will be the root of the Priority Queue.

Step 6: Return the root element of the Priority Queue as the Kth smallest element.

Try solving now
02
Round
Easy
Video Call
Duration20 minutes
Interview date23 Jan 2023
Coding problem2

1. Design Question

Design an Online Shopping System: Design a scalable and efficient online shopping system, considering user registration, product catalog, shopping cart, payment processing, and order fulfillment. (Learn)

2. System Design question

Design a Ticket Booking System: Design a system for booking tickets for events, concerts, or flights, focusing on handling concurrent requests, seat availability, and transaction processing.

03
Round
Easy
HR Round
Duration5 minutes
Interview date19 Jan 2023
Coding problem1

1. Basic HR Questions

Do you prefer working independently or in a team?

Describe a situation where you had to resolve a conflict with a colleague.

How do you prioritize tasks and manage your time effectively?

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
2 rounds | 4 problems
Interviewed by Grab
852 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by Grab
1056 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 6 problems
Interviewed by Grab
611 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 4 problems
Interviewed by Grab
567 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
114579 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
57825 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
34961 views
7 comments
0 upvotes