# Facebook Hacker Cup 2014 – Qualification Round Problem 3

The third problem of the classification problem: —– You may be familiar with the works of Alfred Lord Tennyson, the famous English poet. In this problem we will concern ourselves with Tennison, the less famous English tennis player. As you know, tennis is not so much a game of skill as a game of luck […]

# Facebook Hacker Cup 2014 – Qualification Round Problem 2

Here’s the second problem of the qualification round: ———– A group of N high school students wants to play a basketball game. To divide themselves into two teams they first rank all the players in the following way: Players with a higher shot percentage are rated higher than players with a lower shot percentage. If […]

# Facebook Hacker Cup 2014 – Qualification Round Problem 1

Here’s the first problem of the qualification round of the Facebook Hacker Cup 2014: You want to write an image detection system that is able to recognize different geometric shapes. In the first version of the system you settled with just being able to detect filled squares on a grid. You are given a grid […]

# Random Variables and Distributions

A random variable (also called stochastic variable) is a variable that can take a set of possible different values, each with its own probability. For example, the experiment could be picking a person at random, and a random variable would be the person’s height. A random variable can be discrete or continuous. Discrete random variables […]