You have a 3 and a 5 gallon jug, how do you get exactly 4 gallons?
Software Interview Questions
551,107 software interview questions shared by candidates
Accurately (this is the catch) read a 64bit register value using a method that can read only 32bit at a time
A IQ question: I have 9 coins and 8 have the same weight and the last one is heavier. I also have a balance beam to weigh the coins with. I can only use the balance beam 2 times to find the heavier coin. How do you find the heavier coin?
Technical Manager = What are you doing? How much are you willing to contribute? etc. This is mostly behaviour round. HR = Again, straight forward questions. Technical = this round contains two coding test. You will work as a team with some other candidate on a test. Basically, you have to demonstrate your teamwork skills. Also, how well you handle the situation e.g. are you a follower or a leader etc.
Given a sorted array of infinite length, how would you find a certain value?
Write algorithm to compute the intersection of two arrays. What is the time complexity of this algorithm (using the big O notation)?
How would you reverse the words in a string?
Recursively reverse a singly linked list.
Given a string, find whether it has any permutation of another string. Need to be efficient
Write a function that takes an input string, consisting of several words separated by spaces, and print out each word reversed, keeping the same order within the string.
Viewing 1591 - 1600 interview questions