Run breadth-first search using a queue. Add a null pointer to signify the end of each level.
2
Anonimo
4 mar 2012
No. That was my question for the first round. Second round questions are harder.
At most companies, engineers interview recruits. So the difficulty of the question depends on which engineer is interviewing you.
1
Anonimo
20 set 2012
^ Yes you're right.
Serious Comment: There is usually a large alumni base from the target schools, some of these target schools are ivies.
Troll Comment: Yes. If you don't go to an ivy, you don't get hired. Tough luck.
1
Anonimo
26 nov 2012
I'm not from an ivy league and I hold hired. But I've also started 2 companies with several clients, etc. You just have to be proactive.
Anonimo
9 apr 2012
But whether they hire you or not depends on whether you are from an Ivy league university, right? Are you from one?