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

SDE - Intern

SpeedLabs
upvote
share-icon
2 rounds | 3 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 6 months
Topics: Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming
Tip
Tip

Tip 1 : practice on gfg and coding ninjas
Tip 2 : compete in online coding contests
Tip 3 : learn DSA and practice regularly from GFG or leetcode

Application process
Where: Campus
Eligibility: all branches were allowed
Resume Tip
Resume tip

Tip 1 : put your entire valuable experience in brief
Tip 2 : put the handle of you competitive coding profiles

Interview rounds

01
Round
Medium
Video Call
Duration45 minutes
Interview date12 Mar 2021
Coding problem2

Timing (10 am- 11 am)
For this round I had slightly more time than the last, due to the fact that the weekend fell in between.The interviewer was very very cool and helping this time, something which I kept at the last in my list of probable things that can happen during an interview. Duration of this round was around 45 minutes.

1. Connect n ropes with minimum cost

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

You have been given 'N' ropes of different lengths, we need to connect these ropes into one rope. The cost to connect two ropes is equal to sum of their lengths. We need to connect the ropes with minimum cost.

The test-data is such that the result will fit into a 32-bit integer.

Try solving now

2. Validate BST

Moderate
25m average time
0/80
Asked in companies
FacebookAmazonFreshworks

You have been given a binary tree of integers with N number of nodes. Your task is to check if that input tree is a BST (Binary Search Tree) or not.

A binary search tree (BST) is a binary tree data structure which has the following properties.

• The left subtree of a node contains only nodes with data less than the node’s data.
• The right subtree of a node contains only nodes with data greater than the node’s data.
• Both the left and right subtrees must also be binary search trees.
Example :

BST1

Answer :

Level 1: 

All the nodes in the left subtree of 4 (2, 1, 3) are smaller 
than 4, all the nodes in the right subtree of the 4 (5) are 
larger than 4.

Level 2 :

For node 2:
All the nodes in the left subtree of 2 (1) are smaller than 
2, all the nodes in the right subtree of the 2 (3) are larger than 2.
For node 5:
The left and right subtrees for node 5 are empty.

Level 3:

For node 1:
The left and right subtrees for node 1 are empty.
For node 3:
The left and right subtrees for node 3 are empty.

Because all the nodes follow the property of a binary search tree, the above tree is a binary search tree.
Try solving now
02
Round
Medium
HR Round
Duration30 minutes
Interview date25 Mar 2021
Coding problem1

This round was on call where I was just supposed to answer the HRquestions that were asked. It started with a brief interview with one another and then moved to questions on DBMS, operating systems, computer networks and all. Almost 10-15 questions were asked and I probably answered 90% of them correctly.

1. Basic HR Questions

Assume you are hired, then how long would you expect to work for us?

How would you rate yourself on a scale of 1 to 10?

Problem approach

Tip 1 : Try answering in an optimistic manner
Tip 2 : relating the real life examples to support your points will be very helpful
Tip 3 : putting all the energy and showing the enthusiasm is also very important

Here's your problem of the day

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

Skill covered: Programming

What does print(2 ** 3) output in Python?

Choose another skill to practice
Start a Discussion
Similar interview experiences
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by OYO
1123 views
0 comments
0 upvotes
SDE - 1
2 rounds | 5 problems
Interviewed by Meesho
3405 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Salesforce
689 views
0 comments
0 upvotes
company logo
System Engineer
2 rounds | 2 problems
Interviewed by Tata Consultancy Services (TCS)
518 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Amazon
13660 views
4 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 7 problems
Interviewed by Microsoft
12861 views
1 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Amazon
9087 views
2 comments
0 upvotes