Run breadth-first search using a queue. Add a null pointer to signify the end of each level.
2
Utilisateur anonyme
4 mars 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
Utilisateur anonyme
20 sept. 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
Utilisateur anonyme
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.
Utilisateur anonyme
9 avr. 2012
But whether they hire you or not depends on whether you are from an Ivy league university, right? Are you from one?