Google Code Jam 2008

Bit Twiddling

Prime Numbers

  • Fastest Way to Determine if a Number is Prime
  • Fastest Way to Generate Prime Numbers
  • Finding the Next Prime Number Greater than X

General Programming

Google Code Jam 2009

Google Code Jam Africa 2010

Google Code Jam 2010

Logic

Project Euler

Probability

  • Biased Coin
  • Russian Roulette
  • Random Number Generators
  • Drunken Airline Passenger
  • Birthday Paradox #1: Common Birthday Months
  • Birthday Paradox #2: You are at a party with a friend and 10 people are present including you and the friend. your friend makes you a wager that for every person you find that has the same birthday as you, you get $1; for every person he finds that does not have the same birthday as you, he gets $2. would you accept the wager?
  • If the probability of observing a car in 30 minutes on a highway is 0.95, what is the probability of observing a car in 10 minutes (assuming constant default probability)?
  • Monty Hall Problem