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

SDE - 1

SalaryBox
upvote
share-icon
1 rounds | 2 Coding problems

Interview preparation journey

expand-icon
Journey
I had given very good technical rounds but was unfortunately rejected in that round. I have no idea why I got rejected; I think it was because I did not want to provide my expected CTC. For that reason, they rejected me. In the technical interview, I was asked basic Python implementation-related questions, including Snake Ladder and Merge Sort.
Application story
I applied through a referral. The founder referred me for that role, but unfortunately, the interviewer was not well prepared. After giving all my answers, they rejected me, which is very discouraging.
Why selected/rejected for the role?
I don't know. I gave my best in the interview, but unfortunately, I did not clear that round. The interviewer was not well prepared, and after giving all my answers, they rejected me, which is very discouraging.
Preparation
Duration: 2 Months
Topics: Data Structures & Algorithms, Operating System, Object-Oriented Programming System, DBMS, CN
Tip
Tip

Tip 1: Prepare for DSA well, and I personally recommend Coding Ninjas for interview preparation.
Tip 2: Be confident and relaxed during the interview.
Tip 3: Revise your projects, i.e., how they work and what their functionalities are.

Application process
Where: Referral
Eligibility: No
Resume Tip
Resume tip

Tip 1: Make your resume concise and try to keep it to one page, mentioning all the skills in which you are confident.
Tip 2: Do not include false information on your resume.

Interview rounds

01
Round
Medium
Video Call
Duration50 Minutes
Interview date11 Nov 2022
Coding problem2

1. Merge Two Sorted Arrays

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

Ninja has been given two sorted integer arrays/lists ‘ARR1’ and ‘ARR2’ of size ‘M’ and ‘N’. Ninja has to merge these sorted arrays/lists into ‘ARR1’ as one sorted array. You may have to assume that ‘ARR1’ has a size equal to ‘M’ + ‘N’ such that ‘ARR1’ has enough space to add all the elements of ‘ARR2’ in ‘ARR1’.

For example:

‘ARR1’ = [3 6 9 0 0]
‘ARR2’ = [4 10]
After merging the ‘ARR1’ and ‘ARR2’ in ‘ARR1’. 
‘ARR1’ = [3 4 6 9 10]
Try solving now

2. Snake and Ladder

Moderate
30m average time
60% success
0/80
Asked in companies
OlaDunzoIntuit

You have been given a Snake and Ladder Board with 'N' rows and 'N' columns with the numbers written from 1 to (N*N) starting from the bottom left of the board, and alternating direction each row.

For example

For a (6 x 6) board, the numbers are written as follows:

6*6 Board

You start from square 1 of the board (which is always in the last row and first column). On each square say 'X', you can throw a dice which can have six outcomes and you have total control over the outcome of dice throw and you want to find out the minimum number of throws required to reach the last cell.
Some of the squares contain Snakes and Ladders, and these are possibilities of a throw at square 'X':
You choose a destination square 'S' with number 'X+1', 'X+2', 'X+3', 'X+4', 'X+5', or 'X+6', provided this number is <= N*N.
If 'S' has a snake or ladder, you move to the destination of that snake or ladder.  Otherwise, you move to S.
A board square on row 'i' and column 'j' has a "Snake or Ladder" if board[i][j] != -1. The destination of that snake or ladder is board[i][j].
Note :
You can only take a snake or ladder at most once per move: if the destination to a snake or ladder is the start of another snake or ladder, you do not continue moving - you have to ignore the snake or ladder present on that square.

For example, if the board is:
-1 1 -1
-1 -1 9
-1 4 -1
Let's say on the first move your destination square is 2  [at row 2, column 1], then you finish your first move at 4 [at row 1, column 2] because you do not continue moving to 9 [at row 0, column 0] by taking the ladder from 4.

A square can also have a Snake or Ladder which will end at the same cell.
For example, if the board is:
-1 3 -1
-1 5 -1
-1 -1 9
Here we can see Snake/Ladder on square 5 [at row 1, column 1] will end on the same square 5.
Try solving now

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
3 rounds | 7 problems
Interviewed by OYO
4657 views
0 comments
0 upvotes
Software Engineer Intern
2 rounds | 3 problems
Interviewed by SalaryBox
1325 views
0 comments
0 upvotes
SDE - 1
1 rounds | 2 problems
Interviewed by SalaryBox
1167 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Salesforce
3452 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