print all permutations of a string
Programmer Analyst Ii Interview Questions
716,610 programmer analyst ii interview questions shared by candidates
You have a 3 and a 5 gallon jug, how do you get exactly 4 gallons?
They asked about programming and analytical questions.
-What does the assignment X=(X)&(X-1) do? Use this to count number of 1s in a number.
Accurately (this is the catch) read a 64bit register value using a method that can read only 32bit at a time
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.
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
Viewing 1721 - 1730 interview questions