Given a tree, serialize it into a string that can later be parsed and used to rebuild the original tree.
Software Engineers Interview Questions
419,571 software engineers interview questions shared by candidates
Design a function to reverse the order of words in a string - "This is a string" -> "string a is This"
The difference between and interface and an abstract class
find LCA for two nodes of a binary tree.
How would you implement Amazon's "users who bought this item also bought ..." feature?
I expected higher level questions for a senior position. I was not expecting all of the questions to be about foundational data structures and algorithms (which I was a bit rusty on).
Write breadth-first search in a matrix
What sorting algorithm I would use for sorting an array?
Given a triangle of integers, find the path of the largest sum without skipping.
Didn't expect there will be reasoning and working style assessment.
Viewing 1971 - 1980 interview questions