Supercell Interview Questions

Supercell Interview Guides

Click or hover over a slice to explore questions for that topic.
Machine Learning
(14)
Product Sense & Metrics
(13)
Data Structures & Algorithms
(12)
Statistics
(8)
SQL
(7)

Supercell Interview Questions

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

QuestionTopicDifficulty
Probability
Easy

Write a function that takes an input as the number of tosses and a probability of heads and return a list of randomly generated results equal in length to the number of tosses. Each result represents the outcome of a coin toss, where ‘H’ represents heads and ’T’ represents tails.

Example 1:

Input:

tosses = 5
probability_of_heads = 0.6

Output:

coin_toss(tosses, probability_of_heads) -> ['H', 'T', 'H', 'H', 'T']

Example 2:

Input:

tosses = 3
probability_of_heads = 0.2

Output:

coin_toss(tosses, probability_of_heads) -> ['T', 'T', 'T']

The output may vary due to the randomness of coin tosses.

SQL
Easy
SQL
Medium
Loading pricing options

View all Supercell questions

Challenge

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

Discussion & Interview Experiences

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

Discussion & Interview Experiences

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

Jump to Discussion