-What does the assignment X=(X)&(X-1) do? Use this to count number of 1s in a number.
Desarrollador Sr Java Interview Questions
713,570 desarrollador sr java 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
Write code to return a sorted array of int, when passed in 2 sorted array of int to the method.
See above for type of question?
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?
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.
int getCount(int[] arr, int num)
How would you reverse the words in a string?
write a boolean method to find out if a number is a power of 2
Viewing 1721 - 1730 interview questions