Code to get the depth of a binary tree.
Software Engineer Interviews
Software Engineer Interview Questions
Software engineers write programs to design and develop computer software. Interviews are highly technical, so come ready to work through coding problems and math brainteasers. The specific questions you are asked will depend on what type of programming position you are looking for. Try researching a specific software discipline such as web development, application development, or system development.
Top Software Engineer Interview Questions & How to Answer
Question #1: How would you describe your programming task process?
Question #2: Which programming languages do you know and prefer?
Question 3: What is an example of a successful project that you completed?
419,835 software engineer interview questions shared by candidates
the second question was a little tougher, "Write a function that checks whether a binary tree is valid or not. A valid binary tree is a tree where no child node points to any of its ancestors"
Write a function with input a list of integers and output the starting index of the longest sequence of ascending numbers e.g. 12123 -> 2 or 4567 -> 0
Difference between Heap and Stack
how to merge two sorted linklist?
Write a function to mirror a binary tree (left node to right, right to left, etc). How about very unbalance tree?
given a sorted list of integers, how would you find whether 2 integers exist that add up to a given sum?
Implement a simple load balancing algorithm in pseudo code (over the phone)
What's hashtable?
say sth about hash table.
Viewing 3181 - 3190 interview questions