Write a function to return the longest common prefix between two strings.
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,481 software engineer interview questions shared by candidates
Get the kth largest number from two sorted arrays
You are given a linked list with each node containing one extra pointer. Extra pointer points to any random node in the list.. Create a copy of this list..
Display all the numbers from 0 to 1000000. All the digits of a displayed number should be different.
Reverse words in string. Some questions about distributed system.
I can't go into details about the problems. But I wish I had studied my graph algorithms a little more closely. Make sure you know your big-O algorithm classifications. Almost every interviewer asked me something to do with that.
Write a code that returns the deepest node in a binary tree. If the tree is complete, having two same depth of node, return the rightmost node.
Determine whether 4 elements in an array sum to 0 in O(n^2) time.
How many ways can an ant travel through all of the corners of a cube? Constraints were that each corner cannot be visited twice. How many ways can an ant start at a corner move through all adjacent corners and return to starting position?
- Given a real-time list of traded stocks, need to get the last N (arbitrary) unique traded stocks. Write addTrade(string ticker) and getLastNUnique(int n) functions with efficient runtime.
Viewing 1651 - 1660 interview questions