question 4.8 of chapter 4(tree...


  • Forum Post 0 Answers

    question 4.8 of chapter 4(trees and graphs) in the book "cracking+coding+interview".
    What is the exactly meaning of "tree path"?The solution only considers that the start node of the path is an ancestor of the end node, what if one is not necessarily an ancestor of another?

    - luogaoqi on August 09, 2012 | Flag Edit





Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book walking you through every aspect of getting a job at a top tech company, while focuses on software engineering interviews.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More