Maximum distance between any 2 nodes in a given tree.
Software Development Intern Interview Questions
2,990 software development intern interview questions shared by candidates
What was a sacrifice that you had to make?
Describe a way of sorting an array
Given 2 numbers print all odd numbers in between them. I was also given a follow up question however this only applies to you if you are using % in your for loop: I was asked if we could optimize this code even though the run time was O(n)...hint think of where % takes place and how it compares to other operations.
Asked me a leetcode style design question.
Know how to implement DFS and BFS well
They asked me data structure questions followed by a leetcode
Shortest path between coordinates merge sort etc
Find next greater element for each of the elements in the array.
Bounded by non disclosure agreement.
Viewing 2291 - 2300 interview questions