Accurately (this is the catch) read a 64bit register value using a method that can read only 32bit at a time
Software Interview Questions
748,807 software interview questions shared by candidates
Write code to return a sorted array of int, when passed in 2 sorted array of int to the method.
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.
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?
Given a sorted array of infinite length, how would you find a certain value?
You have three sock drawers. One has red and blue socks, one has blue and green socks, and one has green and red socks. What is the expected number of socks you must pull to be sure which drawer is which, assuming that the number of socks of each color in each drawer is both large and equal?
Design a Data Structure SpecialStack that supports all the stack operations like push(), pop(), isEmpty(), isFull() and an additional operation getMin() which should return minimum element from the SpecialStack. All these operations of SpecialStack must be O(1). To implement SpecialStack, you should only use standard Stack data structure and no other data structure like arrays, list, etc.
Given an array, find there are 3 numbers have when we add them the value will equals a specified sum Example: {1,4,6,10,20,21} Sum=32, Result:true (1+10+21) Sum=65, Result:false
Write algorithm to compute the intersection of two arrays. What is the time complexity of this algorithm (using the big O notation)?
Given a string, find whether it has any permutation of another string. Need to be efficient
Viewing 1821 - 1830 interview questions