Write a function that divides one number by another, without using the division operator, and make it better than O(n).
Engineer Software Interview Questions
418,713 engineer software interview questions shared by candidates
Given an array of sorted integers where duplicates are allowed, find the index of the first number I give you?
Implement a stack using two queues.
In a binary integer value tree, find the lowest level common ancestor of two values.
The written exam was of 1 hour and included the following questions: (1) Write a function that will receive a string as an input and will return the string in reverse order. (2) Write a function that will print the following series of numbers using only one loop: "1,2,3,4,5,6,7,8,9,10,9,8,7,6,5,4,3,2,1" (3) Write a function that will print all the multiples of 3 between 1-200 ( in reverse order ) There were other programming questions as well but of the same difficulty level. Along with the coding questions there were some analytical and QA questions as well. And for me the best part of this exam was there's no language specification. You can answer all the coding questions in whichever programming language you are comfortable with. So, after giving the exam I was impressed to know that they basically want to see how much problem solving skills do you have rather than evaluating you by the number of languages and frameworks you know.
Write a power function power(a , b) returns a^b
Given two sorted arrays. Write a method that returns the intersection of the arrays. Ex. [2,4,3,6] and [8,9,2,4] would return [2,4].
Write a function that computes the intersection of two arrays. The arrays are sorted. Then, what if one array is really larger than the other array?
Given a TV remote, write a script that would give directions to input some letters. Starting from the upper left-hand corner. If the buttons were in 3 columns, and you wanted to type "feed", you would want the output of the program to say "right, right, down, PRESS, left, PRESS, PRESS, left, PRESS"
Implement string rotateString(string input, int amt)
Viewing 291 - 300 interview questions