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

SDE - Intern

Powerplay
upvote
share-icon
2 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 1 Month
Topics: Data Structure, Algorithm, OOPS, DBMS, JavaScript, ReactJS
Tip
Tip

Tip 1 : Focus More on JavaScript and ReactJS.
Tip 2 : Prepare your project well.
Tip 3 : Practice DSA in a regular manner.

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

Tip 1 : Have some good projects based on the MERN stack.
Tip 2 : Share your coding profile in your resume.

Interview rounds

01
Round
Medium
Video Call
Duration45 minutes
Interview date10 Sep 2022
Coding problem4

The interviewer is very helpful during the interview. They provide me right hints which help a lot to solve questions.

1. Output Question

find the output of the below code.for (var i=0;i< 5;i++){    setTimeout(()=>{        console.log(i);    })}

Problem approach

By using knowledge of callback queue and event loop. I was able to solve the question.
Output-
5
5
5
5
5

2. Output Question

find the output of the below code.for (let i=0;i< 5;i++){    setTimeout(()=>{        console.log(i);    })}

Problem approach

Using knowledge of the set timeout method l was able to solve the question.
Output-
0
1
2
3
4

3. Longest Subarray Zero Sum

Moderate
18m average time
85% success
0/80
Asked in companies
AmazonOlaPayU

Given an array arr of length N consisting of positive and negative integers, return the length of the longest subarray whose sum is zero.

Try solving now

4. OS Question

what is deadlock?

Problem approach

Tip 1 : First tell the definition of deadlock.
Tip 2 : give a real-life example of deadlock.
Tip 3 : Also tell how to avoid deadlock.

02
Round
Medium
Video Call
Duration45 minutes
Interview date12 Dec 2022
Coding problem2

The second is mainly focussed on data structure and algorithms and Puzzles.

1. Maximum meetings

Easy
10m average time
90% success
0/40
Asked in companies
AmazonMicrosoftMakeMyTrip

You are given the schedule of 'N' meetings with their start time 'Start[i]' and end time 'End[i]'.


You have only 1 meeting room. So, you need to return the maximum number of meetings you can organize.


Note:
The start time of one chosen meeting can’t be equal to the end time of the other chosen meeting.


For example:
'N' = 3, Start = [1, 3, 6], End = [4, 8, 7].

You can organize a maximum of 2 meetings. Meeting number 1 from 1 to 4, Meeting number 3 from 6 to 7.
Try solving now

2. Puzzle

There are four-person A, B, C, and D who wants to cross a weak bridge at the night. They have one torch with them. Person A, B, C, and D take 1,2,5, and 8 minutes respectively to cross the complete bridge. At a time, only 2 persons can walk on the bridge.

In what minimum time all persons can cross the bridge and how?

Problem approach

Tip 1 : Allow 2 faster persons to cross the bridge. So, 1 faster person can get the torch back quickly. and 1 can 
stay at another end.
Tip 2 : Allow 2 slower persons to cross the bridge and get the faster person to stay at the other end to the back.
Tip 3 : Allow 2 faster people now to cross the bridge. This way they can cross in minimum time.

Answer- 15 minutes.

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
company logo
SDE - Intern
2 rounds | 3 problems
Interviewed by Amazon
961 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by Meesho
6450 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 - Intern
3 rounds | 6 problems
Interviewed by Amazon
15480 views
4 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 7 problems
Interviewed by Microsoft
15338 views
1 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Amazon
10142 views
2 comments
0 upvotes