There is a tree (all edged given), target nodes for a person starting from root node (list of vertices given). What is the minimum distance to visit all target nodes and return back to the root node. Follow-up: There are 2 friends with two independent target nodes. What is the minimum distance travelled by both friends ( distance of friend 1 + distance of friend 2 ) to visit their target nodes, given that at any point of time the maximum distance can be length of 1 edge ( if a person is in node x, the other person can be in the same node, its parent or in one of its child) Additional follow-up: Same as the follow-up mentioned but the distance should be at max k ( integer k given )
Internship Software Interview Questions
25,075 internship software interview questions shared by candidates
sry, I forget the interview questions
"Tell me about yourself mentioning your academic works , background"
Why do you want to work at ServiceNow
previous project experience, binary search
Do you prefer to work in a team or group?
Describe what happens when you enter a web address into your browser.
Sorting an array with n integers with a certain time complexity(forgot the details)
- C++ coding questions: - Describe the ways to pass arguments in a function in C++ - Generalized FizzBuzz. Implementation of Fizz Buzz with general rules on the multiplicity of the number and general strings.
What was one technical project where you had to work as a group?
Viewing 761 - 770 interview questions
See Interview Questions for Similar Jobs
Summer Internship Software EngineerInternship Software EngineerSoftware Engineer InternshipSummer Software Engineering InternshipSummer Software Engineering InternProgramming InternProgramming InternshipSoftware Development Engineer InternSoftware Development Engineer InternshipSoftware Engineer InternSoftware Development InternSoftware Engineer Summer InternshipSoftware Engineering Co OpSoftware Development InternshipSoftware InternComputer Science Co OpSoftware Developer InternGraduate Software Developer