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

SDE - Intern

LinkedIn
upvote
share-icon
2 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Journey
It was not easy one to be honest. In my school days I dd not really liked the field of computer science evan a bit. But luck made me get here. I prepared for this chance through various platforms. Main point was just practising daily.
Application story
I applied on linkedin. I got to know about the openings through my friend. I was really in search for a opportunity like this, so I applied in it.
Why selected/rejected for the role?
I was able to answer all the questions properly as I had prepared well and went through previous interviews.
Preparation
Duration: 3 months
Topics: Arrays, recursion, DP, trees and graphs, stack, queue
Tip
Tip

Tip 1 : Must do questions from GFG.
Tip 2 : SDE sheet of striver can be helpful.

Application process
Where: Other
Eligibility: All students were allowed
Resume Tip
Resume tip

Tip 1 : Do at least 3 major web dev project
Tip 2 : should be precise and descriptive
Tip 3 : also add your past experiences in the resume

Interview rounds

01
Round
Hard
Online Coding Interview
Duration65 minutes
Interview date20 Dec 2020
Coding problem2

Timing (6pm - 8pm)
Environment was user friendly
As usual the online round had three coding questions and 20 MCQs. This was a pretty easy round and it’s duration was 65 minutes. The round consisted of questions from various domains like Algorithm, Data Structure, Operating System and Aptitude.

1. Find the total number of good Triplets

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

You are given two arrays, ‘ARR1’ and ‘ARR2’ of size ‘N’ and ‘M’. There are two types of good triplets.

Type 1: Triplet (i, j, k) If the square of ARR1[i] is equal to the product of ARR2[j] and ARR2[k], where 0 <= i <N and 0 <= j < k < M   
Type 2: Triplet (i, j, k) If the square of ARR2[i] is equal to the product of ARR1[j] and ARR1[k], where 0 <= i <M and 0 <= j < k < N   

Your task is to find the total number of good triplets.

Try solving now

2. Split the String

Easy
0/40
Asked in companies
Morgan StanleyLinkedInInfosys

You are given a string ‘str’ of ‘N’ lowercase alphabets. Your task is to check whether it is possible to split the given string into three non-empty substrings such that one of them is a substring of another two.

For example:

‘str’ = 'abcabab', we can split this string into 3 string a, b, c as a = 'abc', b = 'ab',  c = 'abc', we can clearly see that b is a substring of both a and c.

Note:

A substring is a contiguous sequence of characters within a string. For example 'ab', 'b' and 'abc' are the substring of string 'abc', but 'ac' is not a substring of 'abc'. 

A non-empty substring means a substring with a size greater than 0.
Try solving now
02
Round
Medium
Video Call
Duration40 minutes
Interview date10 Jan 2021
Coding problem2

1. Check if two trees are Mirror

Easy
15m average time
85% success
0/40
Asked in companies
SAP LabsSterlite Technologies LimitedAccenture

You are given two arbitrary binary trees consisting of N and M number of nodes respectively, your task is to check whether the two trees are mirror of each other or not.

Two trees are said to be mirror of each other, if

1. Roots of both the given trees are same.
2. Left subtree of the root of the first tree is the mirror of the right subtree of the root of the second tree.
3. Right subtree of the root of the first tree is the mirror of the left subtree of the root of the second tree.

For example,both the given trees are mirror image of each other: example

Try solving now

2. Snake and Ladder

Moderate
30m average time
60% success
0/80
Asked in companies
ArcesiumZomatoMeesho

You have been given a Snake and Ladder Board with 'N' rows and 'N' columns with the numbers written from 1 to (N*N) starting from the bottom left of the board, and alternating direction each row.

For example

For a (6 x 6) board, the numbers are written as follows:

6*6 Board

You start from square 1 of the board (which is always in the last row and first column). On each square say 'X', you can throw a dice which can have six outcomes and you have total control over the outcome of dice throw and you want to find out the minimum number of throws required to reach the last cell.
Some of the squares contain Snakes and Ladders, and these are possibilities of a throw at square 'X':
You choose a destination square 'S' with number 'X+1', 'X+2', 'X+3', 'X+4', 'X+5', or 'X+6', provided this number is <= N*N.
If 'S' has a snake or ladder, you move to the destination of that snake or ladder.  Otherwise, you move to S.
A board square on row 'i' and column 'j' has a "Snake or Ladder" if board[i][j] != -1. The destination of that snake or ladder is board[i][j].
Note :
You can only take a snake or ladder at most once per move: if the destination to a snake or ladder is the start of another snake or ladder, you do not continue moving - you have to ignore the snake or ladder present on that square.

For example, if the board is:
-1 1 -1
-1 -1 9
-1 4 -1
Let's say on the first move your destination square is 2  [at row 2, column 1], then you finish your first move at 4 [at row 1, column 2] because you do not continue moving to 9 [at row 0, column 0] by taking the ladder from 4.

A square can also have a Snake or Ladder which will end at the same cell.
For example, if the board is:
-1 3 -1
-1 5 -1
-1 -1 9
Here we can see Snake/Ladder on square 5 [at row 1, column 1] will end on the same square 5.
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 does print(2 ** 3) output in Python?

Choose another skill to practice
Start a Discussion
Similar interview experiences
company logo
SDE - Intern
2 rounds | 2 problems
Interviewed by LinkedIn
1359 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 5 problems
Interviewed by LinkedIn
0 views
1 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by LinkedIn
752 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 6 problems
Interviewed by LinkedIn
1088 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Arcesium
3177 views
0 comments
0 upvotes
company logo
SDE - Intern
3 rounds | 5 problems
Interviewed by Arcesium
2141 views
0 comments
0 upvotes
company logo
SDE - Intern
3 rounds | 5 problems
Interviewed by BNY Mellon
1920 views
0 comments
0 upvotes