Print out the sum of the longest path in a BST.
Software Development Engineer Interview Questions
32,839 software development engineer interview questions shared by candidates
Give an array of restaurants' locations. Find K closest restaurants from origin point (0, 0)
Rotate a string in clockwise direction ?
Given an array of person objects that contain a name and gender, sort the array such that all females are before males in the array.
The second one was to find the "local minimums" in a list of integers. Which is when the sequence stops decreasing and starts increasing. Example: 5 3 5 2 1 4 7 3 1 2 - 3, 1, 1 are minimums.
Implement a function that merges two sorted lists into one sorted list
Questions were easy. Asked for multiple ways to solve the same problem. Also asked some behavioral questions.
Check if all the leaves are at the same level in a binary tree
Several machine learning concepts in the first interview such as Why decision tree is not better than a random forest, explain hypothesis testing, situation specific designs. In the second interview asked to find sub-strings from a string which are valid dictionary words.
I was asked about data structures and algorithms. I was also asked to implement hash function.
Viewing 1501 - 1510 interview questions