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

SDE - 1

Spinny
upvote
share-icon
3 rounds | 3 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 2 months
Topics: DS Algo, LLD concepts, Computer fundamentals, Database management, OOPS concept
Tip
Tip

Tip 1 : Get a tight grip to DS Algo for which you can practice as much questions as possible
Tip 2 : Focus on major System design topics
Tip 3 : Be confident

Application process
Where: Referral
Eligibility: Just you have to be good in DS Algo
Resume Tip
Resume tip

Tip 1 : Always put those things on resume for which you are confidence
Tip 2 : be confident

Interview rounds

01
Round
Medium
Online Coding Interview
Duration60 Minutes
Interview date22 Dec 2021
Coding problem1

1. Jump Game

Moderate
15m average time
85% success
0/80
Asked in companies
Deutsche BankGoldman SachsAmazon

You have been given an array 'ARR' of ‘N’ integers. You have to return the minimum number of jumps needed to reach the last index of the array i.e ‘N - 1’.


From index ‘i’, we can jump to an index ‘i + k’ such that 1<= ‘k’ <= ARR[i] .


'ARR[i]' represents the maximum distance you can jump from the current index.


If it is not possible to reach the last index, return -1.


Note:
Consider 0-based indexing.
Example:
Consider the array 1, 2, 3, 4, 5, 6 
We can Jump from index 0 to index 1
Then we jump from index 1 to index 2
Then finally make a jump of 3 to reach index N-1

There is also another path where
We can Jump from index 0 to index 1
Then we jump from index 1 to index 3
Then finally make a jump of 2 to reach index N-1

So multiple paths may exist but we need to return the minimum number of jumps in a path to end which here is 3.
Try solving now
02
Round
Medium
Video Call
Duration60 Minutes
Interview date26 Dec 2021
Coding problem1

This round was majorly focused on DS Algo concepts which included questions from string z Arrays, Binary search, Tree, Graphs

1. Trapping Rain Water

Moderate
15m average time
80% success
0/80
Asked in companies
HCL TechnologiesCiti BankAtlassian

You have been given a long type array/list 'arr’ of size 'n’.


It represents an elevation map wherein 'arr[i]’ denotes the elevation of the 'ith' bar.



Note :
The width of each bar is the same and is equal to 1.
Example:
Input: ‘n’ = 6, ‘arr’ = [3, 0, 0, 2, 0, 4].

Output: 10

Explanation: Refer to the image for better comprehension:

Alt Text

Note :
You don't need to print anything. It has already been taken care of. Just implement the given function.
Problem approach

I maintained two variables to store the maximum water trapped till that point. Since water trapped at any element would be min(maximum_left, maximum_right) – a[i] so that's how I am was able to solve the question

Try solving now
03
Round
Hard
Video Call
Duration90 Minutes
Interview date29 Dec 2021
Coding problem1

LLD questions were asked in the question

1. System Design Question

Design Practo.

Problem approach

Tip 1 : Focus on OOPS concept which will help you in writing efficient code
Tip 2 : Have good knowledge about database management
Tip 3 : At Last have good knowledge of data structures and algorithms

Here's your problem of the day

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

Skill covered: Programming

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
SDE - 1
3 rounds | 4 problems
Interviewed by Spinny
1714 views
0 comments
0 upvotes
SDE - 1
3 rounds | 6 problems
Interviewed by Spinny
3183 views
7 comments
0 upvotes
SDE - 1
3 rounds | 4 problems
Interviewed by Spinny
1567 views
0 comments
0 upvotes
SDE - 1
3 rounds | 6 problems
Interviewed by Spinny
823 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
115097 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
58238 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
35147 views
7 comments
0 upvotes