Given 1000 bottles of wine, 1 has poison, how many rats would it take to find the poison if you only get one timestep. I.E. You can only run your experiment once and check the rats once.
Software Engineer At Interview Questions
664,914 software engineer at interview questions shared by candidates
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 var endorsements = [ { skill: 'css', user: 'Bill' }, { skill: 'javascript', user: 'Chad' }, { skill: 'javascript', user: 'Bill' }, { skill: 'css', user: 'Sue' }, { skill: 'javascript', user: 'Sue' }, { skill: 'html', user: 'Sue' } ]; getSkills = (endorsements) => { // Result // [ // { skill: 'javascript', user: ['Chad', 'Bill', 'Sue'], count: 3 }, // { skill: 'css', user: ['Sue', 'Bill'], count: 2 }, // { skill: 'html', user: ['Sue'], count: 1 } // ]; } see this image: http://i.imgur.com/UIeB3n4.png
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 takes the ordinal number of a column in a spreadsheet and returns the label of that column: i.e. 1 -> A 2 -> B, 26 -> Z, 27->AA
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?
you have an array of stock prices. i-th element in that array represents the stock price of that day. find the buy and sell dates to maximize profit.
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 321 - 330 interview questions