You are browsing the archive for 2010 May.

Problem C: Theme Park Solution (Google Code Jam Qualification Round 2010)

May 8, 2010 in Uncategorized

Read the question here from GCJ Qualification Round 2010:
» Problem C: Theme Park

Read the rest of this entry →

Problem B: Fair Warning Solution (Google Code Jam Qualification Round 2010)

May 8, 2010 in Uncategorized

Read the question here from GCJ Qualification Round 2010:
» Problem B: Fair Warning

Read the rest of this entry →

Problem A: Snapper Chain Solution (Google Code Jam Qualification Round 2010)

May 8, 2010 in bit operations

Read the question here from GCJ Qualification Round 2010:
» Problem A: Snapper Chain

Read the rest of this entry →

Google Code Jam Qualification Round 2010

May 7, 2010 in Uncategorized

Google Code Jam has begun and there is still time to compete, so register and start coding now if you have not!

» Participate in Google Code Jam Now!

Read the rest of this entry →

String Reorder Distance Apart

May 1, 2010 in Uncategorized

Given a string of lowercase characters, reorder them such that the same characters are at least distance d from each other. Read the rest of this entry →

Printing Matrix (2D array) in Spiral Order

May 1, 2010 in Uncategorized

Given a matrix (2D array) of m x n elements (m rows, n columns), write a function that prints the elements in the array in a spiral manner.

Read the rest of this entry →