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

SDE - 1

Lido Learning
upvote
share-icon
1 rounds | 3 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 1 month
Topics: Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming etc
Tip
Tip

Tip 1 : Practice Atleast 250 Questions
Tip 2 : Do atleast 2 projects
 

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

Tip 1 : Have some projects on resume.
Tip 2 : Do not put false things on resume.

Interview rounds

01
Round
Easy
Online Coding Interview
Duration60 minutes
Interview date2 Nov 2020
Coding problem3

1. Path Queries

Moderate
25m average time
70% success
0/80
Asked in companies
MakeMyTripLido LearningCapegemini Consulting India Private Limited

You are given a weighted, undirected graph with ‘V’ vertices numbered from 1 to ‘V’ and ‘E’ bidirectional edges.

You have to answer ‘Q’ queries. Every query has two integers, ‘u’, ‘v’, representing the vertices. Your task is to print the shortest distance between ‘u’ and ‘v’ and print -1 if there is no path.

For example:

altImage

For the given graph, we have to find the shortest distance between vertices 1 and 3. 
The shortest distance between 1 and 3 is 2 (via 1 <-> 2<-> 3). Hence, the answer is 2.
Try solving now

2. Merge Sort

Easy
15m average time
85% success
0/40
Asked in companies
HCL TechnologiesPayPalPaytm (One97 Communications Limited)

Given a sequence of numbers ‘ARR’. Your task is to return a sorted sequence of ‘ARR’ in non-descending order with help of the merge sort algorithm.

Example :

Merge Sort Algorithm -

Merge sort is a Divide and Conquer based Algorithm. It divides the input array into two-parts, until the size of the input array is not ‘1’. In the return part, it will merge two sorted arrays a return a whole merged sorted array.

subsequence

The above illustrates shows how merge sort works.
Note :
It is compulsory to use the ‘Merge Sort’ algorithm.
Try solving now

3. Rat In a Maze: All Paths

Moderate
40m average time
60% success
0/80
Asked in companies
VisaExpedia GroupHexaware Technologies

You are given a 'N' * 'N' maze with a rat placed at 'MAZE[0][0]'. Find and print all paths that rat can follow to reach its destination i.e. 'MAZE['N' - 1]['N' - 1]'. Rat can move in any direc­tion ( left, right, up and down).

Value of every cell in the 'MAZE' can either be 0 or 1. Cells with value 0 are blocked means the rat can­not enter into those cells and those with value 1 are open.

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

How do you create a function in JavaScript?

Choose another skill to practice
Start a Discussion
Similar interview experiences
SDE - Intern
1 rounds | 2 problems
Interviewed by Lido Learning
871 views
0 comments
0 upvotes
SDE - Intern
1 rounds | 3 problems
Interviewed by Lido Learning
676 views
0 comments
0 upvotes
SDE - Intern
1 rounds | 2 problems
Interviewed by Lido Learning
603 views
0 comments
0 upvotes
Test engineer
2 rounds | 2 problems
Interviewed by Lido Learning
568 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
106026 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
50694 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
31562 views
6 comments
0 upvotes