Disney + Hotstar interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

Disney + Hotstar
upvote
share-icon
3 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Journey
I kept practicing DSA and CS fundamentals from my 3rd year of Engineering. Along with that, I was also learning web development and made some good projects. Disney+ Hotstar was the first company that visited our campus. I left no stone unturned, went through previous interview experiences, polished my skills, and eventually cracked the very first interview I sat for in my life.
Application story
This company visited my campus for placements. We just had to upload our resumes and fill in all the details in the form. First, they conducted an online assessment. Later, they called us for the interview rounds.
Why selected/rejected for the role?
The primary reason for my selection was my strong knowledge of core DSA fundamentals and my problem-solving ability. I was selected because I had developed skills in DSA, problem-solving, and logical reasoning. I also prepared for the HR round, as I was already familiar with the types of questions typically asked. I was able to pick up on the hints given by the interviewer and build my answers based on those hints.
Preparation
Duration: 2 Months
Topics: Basic Computer Science background, OOPs, DBMS, DS. Algo
Tip
Tip
  • Tip 1: Participate in live contests on online coding platforms as often as possible.
  • Tip 2: Practice previous interview questions regularly online.
  • Tip 3: Thoroughly revise Computer Science subjects such as DBMS and OOPS.
Application process
Where: Campus
Eligibility: 7.5 CGPA
Resume Tip
Resume tip

Tip 1: Add projects and internships if you have done any and include only those things you are truly knowledgeable about.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration90 Minutes
Interview date9 Mar 2022
Coding problem1

There were a total of 19 MCQs.

Topics: Trees(5), semaphores(3), deadlocks(5) and algorithms(6).

1. Anagram Pairs

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

You are given two strings 'str1' and 'str1'.


You have to tell whether these strings form an anagram pair or not.


The strings form an anagram pair if the letters of one string can be rearranged to form another string.

Pre-requisites:

Anagrams are defined as words or names that can be formed by rearranging the letters of another word. Such as "spar" can be formed by rearranging letters of "rasp". Hence, "spar" and "rasp" are anagrams. 

Other examples include:

'triangle' and 'integral'
'listen' and 'silent'
Note:
Since it is a binary problem, there is no partial marking. Marks will only be awarded if you get all the test cases correct. 
Try solving now
02
Round
Medium
Face to Face
Duration60 Minutes
Interview date9 Mar 2022
Coding problem2

This was face to face round.

1. Next Greater Number

Moderate
15m average time
90% success
0/80
Asked in companies
AmazonMorgan StanleySamsung

You are given a string S which represents a number. You have to find the smallest number strictly greater than the given number which contains the same set of digits as of the original number i.e the frequency of each digit from 0 to 9 should be exactly the same as in the original number.

For example:
If the given string is 56789, then the next greater number is 56798. Note that although 56790 is also greater than the given number it contains 1 '0' which is not in the original number and also it does not contain the digit '8'.

Note:

The given string is non-empty.

If the answer does not exist, then return -1.

The given number does not contain any leading zeros.
Try solving now

2. Circular Tour

Easy
35m average time
85% success
0/40
Asked in companies
AdobeMicrosoftExpedia Group

You have been given a circular path. There are N petrol pumps on this path that are numbered from 0 to N - 1 (Both inclusive). Each petrol pump has two values associated with it:

1)The amount of petrol that is available at this particular petrol pump.

2)The distance to reach the next petrol pump.

You are on a truck having an empty tank of infinite capacity. You can start the tour from any of the petrol pumps. Your task is to calculate the first petrol pump from where the truck will be able to complete the full circle or determine if it is impossible to do so.

You may assume that the truck will stop at every petrol pump and it will add the petrol from that pump to its tank. The truck will move one kilometre for each litre of petrol consumed.

Try solving now
03
Round
Medium
Face to Face
Duration80 minutes
Interview date9 Mar 2022
Coding problem3

This was again DS based face to face round.

1. Find Number Of Islands

Moderate
34m average time
60% success
0/80
Asked in companies
WalmartShareChatAmazon

You are given a 2-dimensional array/list having N rows and M columns, which is filled with ones(1) and zeroes(0). 1 signifies land, and 0 signifies water.

A cell is said to be connected to another cell, if one cell lies immediately next to the other cell, in any of the eight directions (two vertical, two horizontal, and four diagonals).

A group of connected cells having value 1 is called an island. Your task is to find the number of such islands present in the matrix.

Try solving now

2. Reverse Stack Using Recursion

Easy
21m average time
80% success
0/40
Asked in companies
MicrosoftIBMRazorpay

Reverse a given stack of 'N' integers using recursion. You are required to make changes in the input parameter itself.


Note: You are not allowed to use any extra space other than the internal stack space used due to recursion.


Example:
Input: [1,2,3,4,5] 
Output: [5,4,3,2,1]

add image

Try solving now

3. Leftmost and rightmost nodes in a binary tree

Easy
20m average time
80% success
0/40
Asked in companies
Disney + HotstarOracleAdobe

You are given an arbitrary binary tree with N nodes, whose nodes have their values in the range of integers. You have to print the values of leftmost and rightmost nodes at each level of the given tree. In other words, for every level in the given tree, print the values of corner nodes.

Two nodes are said to be at the same level if they are at the same distance from the root node.

Note:

1. For all such levels where there is only one corner node the leftmost and the rightmost nodes are the same.
2. In the output, you have to print the leftmost and rightmost values in level order fashion i.e, the leftmost node of level1 followed by the rightmost node of level1 followed by the leftmost node of level2 followed by the rightmost node of level2 and so on.
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 remove whitespace from the start of a string?

Choose another skill to practice
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
924 views
0 comments
0 upvotes
SDE - 1
3 rounds | 5 problems
Interviewed by Disney + Hotstar
700 views
0 comments
0 upvotes
SDE - 1
3 rounds | 6 problems
Interviewed by Disney + Hotstar
741 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
115097 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
58238 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
35147 views
7 comments
0 upvotes