Write an algorithm that does an in-order traversal of a tree recursively. Now, write the same algorithm iteratively.
Software Development Engineer Interview Questions
32,958 software development engineer interview questions shared by candidates
Code a function in C to get the largest consecutive addition of integer numbers fron an array.
multiply 2 numbers without using * sign
Given two rectangles, check if they intersect? He also asked me if I have seen the question before to which I replied I had but that I had not tried solving it.
Implement a LRU cache.
You are in a room by yourself and someone walks into the room, asks you to find the temperature, and leaves. How would you find the temperature in the room without leaving the room?
Reverse a singly linked-list with and without using an auxiliary data structure.
Write the algorithm for this: If you have a string aaabbc the output should be a3b2c1, for the string aabcc the output should be a2b1c2 and so on. You should not allocate memory for a new string and you can do this only by reading each character once. Ps: if the result is bigger than the original string (like abc -> a1b1c1) just return null or some message that makes that clear.
Write code to solve a problem in Polish notation. e.g : 1 2 3 + / is 1/(2+3)
implement a function thet gets a string ans prints all string permutetions
Viewing 401 - 410 interview questions