I don't remember exactly but for onsite I had to write a tree traversal algorithm and also create the class for nodes and write a test case as well.
Software Engineer Internship Interview Questions
23,635 software engineer internship interview questions shared by candidates
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 )
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.
Viewing 731 - 740 interview questions