How would you reverse the image on an n by n matrix where each pixel is represented by a bit?
Developer Interview Questions
268,884 developer interview questions shared by candidates
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.
if there are 9 white balls and 7 black balls in a bag .You have to take out balls one by one from the bag.then in how many attempts you wilk get a matched pair
If you toss a coin n times, what's the expected value of n if you get the 2nd head?
return true if array of size n contains a permutation of [1,n]
Viewing 151 - 160 interview questions