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

Product Intern

Squadstack
upvote
share-icon
6 rounds | 9 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 2 Months
Topics: Data structures and algorithms, DBMS, OOPs, operating system, Computer Network
Tip
Tip

Tip 1 : Prepare the core subjects very well
Tip 2 : Mention atleast 2 projects in your resume
Tip 3 : Practice to improvise solutions for common coding questions

Application process
Where: Other
Eligibility: No such eligibility criteria.
Resume Tip
Resume tip

Tip 1 : Do not mention anything in the resume you are not sure about.
Tip 2 : Do mention atleast 2 projects in the resume

Interview rounds

01
Round
Easy
Assignment
Duration60 Minutes
Interview date10 Sep 2021
Coding problem0

I was sent a link in which I had to write the answers for certain questions. The questions were situation based and many of them were HR questions. Answer all of them carefully and try to be honest in your answers. They do eliminate students based on this round.

02
Round
Medium
Online Coding Test
Duration90 minutes
Interview date15 Sep 2021
Coding problem3

There were 3 questions - 1 hard, 1 medium, 1 easy.

1. Ninja and Mathematics

Moderate
30m average time
70% success
0/80
Asked in companies
FacebookAdobeShareChat

Ninja is a genius in mathematics. He got an interview call from MIT. During the interview, the professor asked Ninja a challenging question.

Given two integers 'N1' and 'N2', the professor asked Ninja to find the fraction when the first number i.e 'N1' is divided by the second number i.e 'N2'. If the fractional part is repeating, then the repeating part should be enclosed in parentheses.

For example, if 'N1' is 1 and 'N2' is 3 and when we divide 1 by 3 i.e 1/3, the answer is 0.333... Here 3 is repeated infinite times because the remainder never becomes zero in this problem. As we know the fractional part ( i.e 3 ) is repeating, so we have to enclose the repeating part in parentheses. Therefore, the answer is “0.(3)”.

Ninja is stuck in this problem. Can you help Ninja to crack this interview and get admission in MIT?

Try solving now

2. M - Coloring Problem

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

You are given an undirected graph with N nodes in the form of an adjacency matrix. You are also given an integer M.

Your task is to find if you can color the vertices of the graph using at most M colors such that no two adjacent vertices are of the same color.

For example:

If the given adjacency matrix is:
[0 1 0]
[1 0 1]
[0 1 0] and M = 3.

The given adjacency matrix tells us that node 1 is connected to node 2 and node 2 is connected to node 3. 

So if we color vertex 1 with ‘red’, vertex 2 with ‘blue’, and vertex 3 with ‘red’, it is possible to color the given graph with two colors which is less than or equal to M.
Try solving now

3. Connecting Cities With Minimum Cos

Moderate
10m average time
90% success
0/80
Asked in companies
MicrosoftSquadstackAmazon

There are ‘N’ cities numbered from 1 to ‘N’ and ‘M’ roads. Each road connectss two different cities and described as a two-way road using three integers (‘U’, ‘V’, ‘W’) which represents the cost ‘W’ to connect city ‘U’ and city ‘V’ together.

Now, you are supposed to find the minimum cost so that for every pair of cities, there exists a path of connections (possibly of length 1) that connects those two cities together. The cost is the sum of the connection costs used. If the task is impossible, return -1.

Try solving now
03
Round
Hard
Assignment
Duration300 Minutes
Interview date18 Sep 2021
Coding problem0

An assignment was given to be completed within given time frame. Had to write the code and pass all the test cases.

04
Round
Hard
Video Call
Duration90 minutes
Interview date30 Sep 2021
Coding problem4

It was at 9 in the morning. It was a tech deep dive + coding round. There was one interviewer and he was very helpful. He gave me hints whenever I was not able to tell something. So he started with OOPs, then he asked me basic questions about python as I code in python, then he asked questions from DBMS and CN. He then moved to coding questions where he shared with me a code pair link and asked me to code it there.

1. OOP Questions

What is object?
What are classes?
Explain all pillars of OOPs.
Difference between runtime vs compile time polymorphism.
What is call by Value?
Difference between call by Value and call by reference.
Which is used in python?

2. DBMS Questions

What is difference between Authorization and authentication.
What is normalisation.
Difference between normalisation and denormalization.
What is ACID properties?

3. Networking Questions

What is difference between TCP/ UDP?
Describe three way handshake
What do you mean by GET /POST?

4. NINJA’S CALCULATOR

Easy
20m average time
80% success
0/40
Asked in companies
MicrosoftSquadstackFlipkart limited

Ninja and his friends go to the park every day. But now, due to his homework, he wasn’t able to go to the park with his friends. So when he figures out, he notes that a lot of time is consumed in doing maths homework where he has to convert some real number to a binary string. So he is deciding to build a calculator which can convert real numbers to the binary string.

So help our Ninja to write a code for the calculator, which can convert the real numbers into a binary string and save his time to join his friends in the park.

So your task is to write a code that can convert real numbers between ‘0’ and ‘1’into a binary string.

For example, you have given a number “0.750” so you have to convert it in its binary form that is “0.110”

Try solving now
05
Round
Hard
Video Call
Duration90 minutes
Interview date30 Sep 2021
Coding problem1

It was at around 3pm after the first round. It was a system design round. There was only one interviewer and he was also very kind and helpful.

1. System Design Question

I had to design Stack overflow. So, he asked me to create a database schema.Then, he asked me to write SQL queries for problems he was asking. He then asked me if I know about API. I have never worked with APIs, so he continued with database schema only.

06
Round
Medium
HR Round
Duration20 minutes
Interview date1 Oct 2021
Coding problem1

It was at 1 pm. It was a cultural fit round. There was only one interviewer and he asked me to introduce myself. Then he asked me to explain one of my projects. Then he asked some HR questions and situation based questions.

1. Basic HR Questions

Why this job?

What motivates you?

Problem approach

Tip 1 : Be confident. 
Tip 2 : Treat it like a discussion. Do ask questions if you are not clear about anything.
Tip 3 : Be honest with your answers.

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
Business Technology Analyst
4 rounds | 5 problems
Interviewed by Squadstack
2739 views
0 comments
0 upvotes
Product Engineer
3 rounds | 5 problems
Interviewed by Squadstack
1721 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Salesforce
3452 views
0 comments
0 upvotes