Code360 powered by Coding Ninjas X Naukri.com. Code360 powered by Coding Ninjas X Naukri.com
Disney + Hotstar interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

Disney + Hotstar
upvote
share-icon
4 rounds | 7 Coding problems

Interview preparation journey

expand-icon
Journey
I started by learning web development and later shifted to core backend . With this I would regularly take part in coding competitions and hackathons during my college time . I have given interviews for 15+ product companies and was able to get multiple off campus offers .
Application story
I had got multiple interview calls from LinkedIn and i was able to get offer from many companies . I applied to hotstar via referral and got a call within a week .
Why selected/rejected for the role?
I cleared all the interviews and was given above avg rating and hence , offered this role . Also , I had previous experience in Java backend while working at PwC so that's another adv that I had .The hiring manager was quite impressed with my profile and it helped in the decision.
Preparation
Duration: 5 months
Topics: Java , CPP, OOPS, DSA, CN, DBMS, Aptitude,OS
Tip
Tip

Tip 1 :focus on building problem solving approach and try to figure out various solutions for a single question.
Tip 2 : Master backtracking and recursion , it will help you lot in Trees, graph and dp problems and will help you in coming up with recurrence relations faster .
Tip 3 :Try to strike balance with development and coding as some basics of wed development . And try to maintain github repo of your work so that its easily representable.

Application process
Where: Linkedin
Eligibility: NA
Resume Tip
Resume tip

Tip 1: Make sure that you have some projects and mention the technologies that you have worked with .
Tip 2: Dont try to copy paste from the internet as they are gonna grill you on those topics and it would be quite evident that its not true and would bring wrong impression .
Tip 3: Write the most imp skills in the order so that the chances that questions would be asked from them increases .
Tip 4: Go through some samples resumes and see how the ATS works .

Interview rounds

01
Round
Hard
Online Coding Test
Duration90 mins
Interview date18 Apr 2021
Coding problem2

The test comprised of 3 coding questions . One was hard and other 2 were medium level but required thorough understanding of DSA

1. Apple Pickup

Hard
15m average time
85% success
0/120
Asked in companies
FlipkartCiscoDisney + Hotstar

Alice always loves to visit her garden and collect apples. The garden can be represented in the form of ‘N’ * ’N’ grid say ‘MATRIX’, where each cell of the grid can have one of the possible values:

1 -> The cell contains an apple that Alice can pick up and pass through it.

-1 -> The cell contains a bush and Alice can not visit this cell.

0 -> The cell is empty and Alice can pass through it.

Alice is present at the top left corner of the matrix or we can say at point (0,0).

Alice has to reach the bottom right corner of the matrix (‘N’-1,’N’-1) and return back to the starting point (0,0).

1. After picking an apple the cell will become empty.

2. While going towards the bottom right corner, Alice can either move Right or Down at each step.

3. While going towards the top left corner, Alice can either move Left or Up at each step.

4. If there is no path from (0,0) to (‘N’-1, ‘N’-1) then Alice will not pick any apple.

Your task is to help Alice to collect the maximum number of apples during her journey.

For example:

If the given matrix is :
[1, 1, -1, 1]
[1, 0, 1, 1]
[1, 1, 0, 1]
[0, -1, -1, 1]

One of the possible ways to collect maximum apples is :

Path for going towards bottom right corner: 
(0,0) -> (0,1) -> (1,1) -> (1,2) -> (1,3) -> (2,3) -> (3,3)

Apples collected are equal to 6.

Path for going towards top left corner:
(3,3) -> (2,3) ->(2,2) -> (2,1) -> (2,0) -> (1,0) -> (0,0)

Apples collected are equal to 3.

So Alice can collect a maximum of 9 apples.
Problem approach

Used dp approach to solve this .

Try solving now

2. LCA Of Binary Tree

Moderate
10m average time
90% success
0/80
Asked in companies
HSBCDisney + HotstarGrab

You have been given a Binary Tree of distinct integers and two nodes ‘X’ and ‘Y’. You are supposed to return the LCA (Lowest Common Ancestor) of ‘X’ and ‘Y’.


The LCA of ‘X’ and ‘Y’ in the binary tree is the shared ancestor of ‘X’ and ‘Y’ that is located farthest from the root.


Note :
You may assume that given ‘X’ and ‘Y’ definitely exist in the given binary tree.
For example :
For the given binary tree

Example

LCA of ‘X’ and ‘Y’ is highlighted in yellow colour.
Problem approach

if LCA was found out then it was easy to come up with ans . The tricky part was to identify the structure .

Try solving now
02
Round
Medium
Video Call
Duration60 mins
Interview date24 Apr 2021
Coding problem1

This was a low level design round that was taken . The aim of this round was to see the coding style and live implementation and thought process . We werent required to come up with actual patterns but the emphasis was on general design skills and implementation wrt to OOPS concepts .

1. Design Question

It was to design a rate limiter .

Problem approach

Tip 1:Ask the questions regarding the specs of the system like number of requests , usage of this api , what could happen if it goes down , how many load balancers , etc
Tip 2: During this entire round try to think aloud and make your interviewer understand your approach .
Tip 3: Be cautious of the time if the solution needs to be coded as well . Try to do it in java as this is more OOPs friendly .

03
Round
Medium
Video Call
Duration90 mins
Interview date16 May 2021
Coding problem3

This round was mix of both DSA and core CS concepts and discussion on my projects . Hiring manager round .

1. Coin Change(Finite Supply)

Hard
0/120
Asked in companies
AmazonAdobeMicrosoft

You are given an array of integers ‘coins’ denoting the denomination of coins and another array of integers ‘freq’ denoting the number of coins of each denomination.

You have to find the number of ways to make the sum ‘V’ by selecting some(or all) coins from the array.

The answer can be very large. So, return the answer modulo 1000000007.

For Example :
‘N’ = 3, ‘coins’ = {1, 2, 3}, ‘freq’ = {1, 1, 3}, ‘V’ = 6

For the given example, we can make six by using the following coins:
{1, 2, 3}
{3. 3}
Hence, the answer is 2.
Problem approach

I used dp to come up with optimal solution and coded the bottom up solution .

Try solving now

2. OS Questions

There was questions on Virtual memory and paging which are asked in college exams . Also some questions related to semaphores and locking were also discussed with practical use cases .

Problem approach

Tip 1: Try to be clear what you intent to say as these could be miscommunicated.
Tip 2: Dont try to fool the interviewer if you dont know it correctly , instead ask for another thing .

3. DBMS Questions

This was regarding multiple indexes and whats the difference between mysql and mongodb 
this is a standard interview question and i had already prepared this .

Problem approach

Tip 1:Be thorough with sql 
Tip 2:Try to learn about sharding and indexing of databases .
Tip 3:practice ER models before the interview of standard problems.

04
Round
Easy
HR Round
Duration30 mins
Interview date21 May 2021
Coding problem1

This was a HR round to discuss the expectations and some discussions about the company values . There were no situation based questions asked here .

1. Basic HR Questions

Why do you want to work here ? Any current that you hold ? Whats your expecations for salary ? etc

Problem approach

Tip 1:Be calm and answer honestly .
Tip 2:Use STAR technique to answer HR questions !

Here's your problem of the day

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

Skill covered: Programming

Which of these access modifiers must be used for the main() method?

Choose another skill to practice
Start a Discussion
Similar interview experiences
SDE - 1
3 rounds | 5 problems
Interviewed by Disney + Hotstar
0 views
2 comments
0 upvotes
SDE - 1
3 rounds | 5 problems
Interviewed by Disney + Hotstar
613 views
0 comments
0 upvotes
SDE - 1
3 rounds | 5 problems
Interviewed by Disney + Hotstar
393 views
0 comments
0 upvotes
SDE - 1
3 rounds | 6 problems
Interviewed by Disney + Hotstar
468 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
105367 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
50260 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
31304 views
6 comments
0 upvotes