Practice codes for interview problems