PlayStation Interview Questions

PlayStation Interview Guides

Click or hover over a slice to explore questions for that topic.
Machine Learning
(10)
Data Structures & Algorithms
(9)
Product Sense & Metrics
(9)
Statistics
(8)
Business Case
(5)

PlayStation Interview Questions

Practice for the PlayStation interview with these recently asked interview questions.

QuestionTopicDifficulty
Machine Learning
Hard

Build a random forest model from scratch with the following conditions:

  • The model takes as input a dataframe data and an array new_point with length equal to the number of fields in the data
  • All values of both data and new_point are 0 or 1, i.e., all fields are dummy variables and there are only two classes
  • Rather than randomly deciding what subspace of the data each tree in the forest will use like usual, make your forest out of decision trees that go through every permutation of the value columns of the data frame and split the data according to the value seen in new_point for that column
  • Return the majority vote on the class of new_point
  • You may use pandas and NumPy but NOT scikit-learn

Bonus: The permutations in the itertools package can help you easily get all of any iterable object.

Example:

Input:

new_point = [0,1,0,1]
print(data)
...
    Var1  Var2  Var3  Var4  Target
0    1.0   1.0   1.0   0.0       1
1    0.0   0.0   0.0   0.0       0
2    1.0   0.0   1.0   0.0       0
3    0.0   1.0   1.0   1.0       1
4    1.0   0.0   1.0   0.0       0
..   ...   ...   ...   ...     ...
95   0.0   1.0   0.0   1.0       0
96   1.0   1.0   0.0   0.0       0
97   0.0   0.0   1.0   1.0       0
98   1.0   0.0   0.0   0.0       0
99   0.0   1.0   0.0   0.0       0

[100 rows x 5 columns]

Output:

def random_forest(new_point, data) -> 0
Behavioral
Medium
Product Sense & Metrics
Hard
Loading pricing options

View all Playstation questions

Challenge

Check your skills...
How prepared are you for working at Playstation?

PlayStation Salaries by Position

Product Manager*
$213K
Product Manager
Median: $213K
Mean (Average): $213K
Data points: 1
$106K
$243K
Software Engineer
Median: $160K
Mean (Average): $168K
Data points: 84
Business Analyst*
$165K
Business Analyst
Median: $165K
Mean (Average): $165K
Data points: 1
ML Engineer*
$138K
$192K
ML Engineer
Median: $165K
Mean (Average): $165K
Data points: 2
Data Engineer*
$160K
Data Engineer
Median: $160K
Mean (Average): $160K
Data points: 1
$89K
$196K
Data Scientist
Median: $145K
Mean (Average): $144K
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 Product Manager role pays the most with a $213,000 base salary while the Data Scientist role on average pays the least with a $143,750 base salary.

Discussion & Interview Experiences

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