My solutions to common programming interview problems
twostackqueue - Implement a Queue using two stacks. (Java solution using Collections)
rand7 - Given rand5 a function which gives {0..4} with a uniform probability, create rand7 which gives {0..6} with a uniform probability. *This solution is nondeterministic.