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

SDE - 1

Stanza Living
upvote
share-icon
2 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Journey
Starting with the basics: As a B.Tech student, I began my journey by learning foundational concepts in engineering. I studied subjects such as mathematics, physics, and basic programming to develop a strong understanding of core principles.
Application story
There was an off-campus drive by Stanza Living, and a Google form was circulated. I filled it out and received the CodeStudio test link, followed by an interview.
Why selected/rejected for the role?
I credit the reason behind my selection to the daily practice of coding questions. I have a clear understanding of all the basics and am confidently presenting myself to the interview panel.
Preparation
Duration: 9 months
Topics: Data Structures and Algorithms, Object Oriented Programming (OOP), Operating Systems
Tip
Tip

Tip 1: Practice coding problems regularly.
Tip 2: Brush up on computer science fundamentals.
Tip 3: Solve real-world design and system architecture problems.

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

Tip 1: Keep it concise and focused.
Tip 2: Be truthful and authentic.

Interview rounds

01
Round
Easy
Online Coding Interview
Duration90 minutes
Interview date20 May 2022
Coding problem2

1. First K Maximum Elements

Easy
10m average time
90% success
0/40
Asked in companies
AmazonProdapt SolutionsD.E.Shaw

You have been given an array of ‘N’ integers and an integer 'K'. You have to find the indexes of the first 'K' maximum elements in the array.

Note :

'K' must be less than or equal to the number of distinct elements in the given array.

Consider '0’ based indexing of the elements in the given array.

Print all indexes in increasing order.

For Example :

If, 'ARR' = [4, 2, 4, 2, 1], and K = 2. Then output will be 0, 1, 2, 3.
Try solving now

2. Find Subarray

Moderate
25m average time
70% success
0/80
Asked in company
ShareChat

You are given an array ‘arr’ of size ‘N’. Your task is to find the sub-array in ‘arr’ where the difference between the maximum and minimum element of the sub-array is greater than the number of elements in the sub-array. You have to return an array consisting of start and end indices of the sub-array. If sub-array does not exists, then return [-1, -1].

Note:
The array is 1-indexed.
For example
You are given, ‘arr’ = [4, 3, 0, 2], here the sub-array [4, 3, 0] is the sub-array where the difference between the minimum and the maximum elements in the sub-array is 4 - 0 = 4, which is greater than the length. Hence the answer is [1, 3]. Thus, the answer is ‘YES’.
Try solving now
02
Round
Easy
Video Call
Duration90 minutes
Interview date22 May 2022
Coding problem2

Given a collection of data structures, such as arrays, linked lists, stacks, and queues, perform a set of operations on each data structure and report the final results.

1. Serialize And Deserialize BST

Easy
15m average time
85% success
0/40
Asked in company
Snapdeal Ltd.

You are given a Binary Search Tree with its root node. You are supposed to serialize a binary search tree into a string and deserialize the string into a binary search tree.

Note :

Serialization is the process of converting an object into a stream of bytes.

Deserialization is the opposite process of creating an object from a stream of bytes.

You can apply your own serialization and deserialization algorithms.
Try solving now

2. Minimum Cost

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

There are ‘N’ numbers of balls in a room that are placed in a row. You are given an array ‘location’ where location[ i ] denotes the location of the ‘i-th’ ball.

You have to move all the balls at the same location, and it is given that you can move a ball from position [ i ] to

1. position[i] + 2 with cost = 0.

2. position[i] + 1 with cost = 1.

Your task is to find the minimum cost required to move all the balls at the same location.

For Example :
If we have three balls placed at [ 1, 3, 4 ]

At first, move the ball from position ‘1’ to position ‘3’ with cost = 0.
Then move the ball from position ‘4’ to position ‘3’ with cost =1.
As the minimum cost = 1, so you need to print 1.
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
SDE - 1
2 rounds | 3 problems
Interviewed by Stanza Living
880 views
0 comments
0 upvotes
SDE - 1
2 rounds | 4 problems
Interviewed by Stanza Living
933 views
0 comments
0 upvotes
SDE - 1
3 rounds | 5 problems
Interviewed by Stanza Living
758 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