Coding Interview Sample Prob