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 - 2

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

Interview preparation journey

expand-icon
Preparation
Duration: 3 months
Topics: DSA, System Design, OOPS, High level design, Low Level design
Tip
Tip

Tip 1 :Used to practice daily on leetcode for couple of months
Tip 2 :System Design. takes time. 
Tip 3 :

Application process
Where: Company Website
Eligibility: 7
Resume Tip
Resume tip

Tip 1:Write only what you are confident about
Tip 2:Dont write basic things

Interview rounds

01
Round
Easy
Video Call
Duration60 minutes
Interview date29 Sep 2022
Coding problem2

1. Minimum Cost

Moderate
20m average time
90% success
0/80
Asked in company
Disney + Hotstar

You are given an array of ‘N’ integers and your task is to sort the array using the following operations.

In one operation you can select a sub-array of the array and sort it. The cost of performing such an operation will be the square of the length of the sub-array you are sorting.

You task is to find the minimum cost of sorting the whole array.

Example:-
You are given,
array ARR=[4,3,2,1] 

So, the output is 16 as we can take the sub-array [4,3,2,1](from index 0 to index 4) and sort it. So the total cost is 4*4 (16).    
Try solving now

2. Longest Increasing Subsequence

Moderate
30m average time
65% success
0/80
Asked in companies
AmazonAmerican ExpressMakeMyTrip

For a given array with N elements, you need to find the length of the longest subsequence from the array such that all the elements of the subsequence are sorted in strictly increasing order.

Strictly Increasing Sequence is when each term in the sequence is larger than the preceding term.

For example:
[1, 2, 3, 4] is a strictly increasing array, while [2, 1, 4, 3] is not.
Try solving now
02
Round
Easy
Video Call
Duration60 minutes
Interview date4 Oct 2022
Coding problem2

1. Word Ladder

Hard
10m average time
90% success
0/120
Asked in companies
GoogleOlaSalesforce

You are given two strings BEGIN and END and an array of strings DICT. Your task is to find the length of the shortest transformation sequence from BEGIN to END such that in every transformation you can change exactly one alphabet and the word formed after each transformation must exist in DICT.

Note:

1. If there is no possible path to change BEGIN to END then just return -1.
2. All the words have the same length and contain only lowercase english alphabets.
3. The beginning word i.e. BEGIN will always be different from the end word i.e. END (BEGIN != END).
Try solving now

2. Permutations of a String

Moderate
15m average time
85% success
0/80
Asked in companies
GoogleMakeMyTripDisney + Hotstar

You are given a string 'STR' consisting of lowercase English letters. Your task is to return all permutations of the given string in lexicographically increasing order.

String A is lexicographically less than string B, if either A is a prefix of B (and A ≠ B), or there exists such i (1 <= i <= min(|A|, |B|)), that A[i] < B[i], and for any j (1 <= j < i) A[i] = B[i]. Here |A| denotes the length of the string A.

For example :

If the string is “bca”, then its permutations in lexicographically increasing order are { “abc”, “acb”, “bac”, “bca”, “cab”, “cba” }.
Note:
Given string contains unique characters.
Try solving now
03
Round
Easy
Video Call
Duration90 minutes
Interview date18 Oct 2022
Coding problem1

1. System Deisgn

Design Instagram type of app for photosharing. Mostly focussed on LLD

04
Round
Medium
Video Call
Duration60 minutes
Interview date19 Oct 2022
Coding problem1

This was techno -Managerial round

1. System Design

How does locking take place when multiple application stry to book same tickets in a movie show..Discussed similar techincal tradeoffs in modern applications.

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 the default value of int data type?

Choose another skill to practice
Join the Discussion
1 reply
Preet Katiyar 22 Apr, 2023

where to prepare for system design

0 replies
1 upvote
Reply
Report
Similar interview experiences
SDE - 1
4 rounds | 7 problems
Interviewed by Disney + Hotstar
432 views
0 comments
0 upvotes
SDE - 1
2 rounds | 4 problems
Interviewed by Disney + Hotstar
366 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Amazon
1976 views
0 comments
0 upvotes
company logo
SDE - Intern
1 rounds | 3 problems
Interviewed by Amazon
831 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 2
5 rounds | 12 problems
Interviewed by Walmart
23737 views
8 comments
0 upvotes
company logo
SDE - 2
3 rounds | 4 problems
Interviewed by HashedIn
7934 views
0 comments
0 upvotes
company logo
SDE - 2
3 rounds | 5 problems
Interviewed by Amazon
5126 views
0 comments
0 upvotes