The Walt Disney Company Interview Questions

The Walt Disney Company Interview Guides

Click or hover over a slice to explore questions for that topic.
Data Structures & Algorithms
(27)
SQL
(23)
Product Sense & Metrics
(22)
Machine Learning
(20)
A/B Testing
(14)

The Walt Disney Company Interview Questions

Practice for the The Walt Disney Company interview with these recently asked interview questions.

QuestionTopicDifficulty
Machine Learning
Hard

Implement the k-means clustering algorithm in python from scratch, given the following:

  • A two-dimensional NumPy array data_points that is an arbitrary number of data points (rows) n and an arbitrary number of columns m.
  • Number of k clusters k.
  • The initial centroids value of the data points at each cluster initial_centroids.

Return a list of the cluster of each point in the original list data_points with the same order (as a integer).

Example

before clustering

After clustering the points with two clusters, the points will be clustered as follows.

after clustering

Note: There could be an infinite number of separating lines in this example.

Example


#Input
data_points = [(0,0),(3,4),(4,4),(1,0),(0,1),(4,3)]
k = 2
initial_centroids = [(1,1),(4,5)]


#Output 

k_means_clustering(data_points,k,initial_centroids) -> [0,1,1,0,0,1]

SQL
Easy
SQL
Medium
Loading pricing options

View all The Walt Disney Company questions

Challenge

Check your skills...
How prepared are you for working at The Walt Disney Company?

The Walt Disney Company Salaries by Position

$103K
$171K
Software Engineer
Median: $127K
Mean (Average): $133K
Data points: 5
$96K
$115K
Product Manager
Median: $112K
Mean (Average): $108K
Data points: 4

Most data science positions fall under different position titles depending on the actual role.

From the graph we can see that on average the Software Engineer role pays the most with a $133,000 base salary while the Product Manager role on average pays the least with a $108,000 base salary.

The Walt Disney Company Opening Jobs

Senior Product Manager - Experimentation Data and Tooling

Discussion & Interview Experiences

?
There are no comments yet. Start the conversation by leaving a comment.