Core Java questions & this person was also not aware about the immutability concept properly except what is given on internet. I had to teach him the immutability of class & object, else for this person both are same.
Developer Interview Questions
270,873 developer interview questions shared by candidates
Find set of chars not repeated in a list.
select a random number between 1 & 7
How would you reverse the image on an n by n matrix where each pixel is represented by a bit?
Given two unsigned integer values, write a function that returns the first divided by the second. You cannot (of course) use div or mod operators - only addition, subtraction and multiplication. Discuss the strengths/weaknesses/algorithmic complexity of your solution. Is there a better way to do it? If so, what, and what is its complexity?
Given the following list of objects {user, loginTime, logoutTime}. What is the maximum number of concurrent users logged in at the same time? Input: [ {user: A, login: 1, logout: 3}, {user: B, login: 3, logout: 4}, {user: C, login: 1, logout: 2}, {user: D, login: 123123123, logout: 987987987}, {user: E, login: 1, logout: 3} ] Output: 3
"If you were stranded on a desert island, what three development tools would you bring with you?"
My previous experience.
Can write a function which inputs two ints and check if it is 3 it should return 6 if input is 6 return 3, without using any condition.
Write a Java program to count the number of occurances of each number in a series of numbers.
Viewing 121 - 130 interview questions