There is a panel containing 3 light switches in front of you. Each switch controls a light in a room somewhere. Doesn't really matter where. You can play with the switches as much as you like, but you're only allowed to enter the room once. How do you tell which switch controls which light? Again, you can only enter the room once, so you cannot play with the switches after you enter the room, but you can play with them as much as you want before you enter the room. One entry is all it takes to determine which switch controls which light.
Developer Interview Questions
640,302 developer interview questions shared by candidates
write a function that returns the first unique element in an array
How to write the sqrt function using only +,-,*,/
How do you reverse a number without storing it in an array Ex: 412 should be printed as 214
Write a java program that can convert a string of numbers (e.g. "5387") into an integer (5387).
How to find out whether a number is odd or even.
1,2,3,5,7.... what will be the next number in series
How would you shuffle a deck of cards?
String replacement on coderpad. More of pair programming , with hints that helped a lot.
To remove every multiple i, j, k ..... elements from a list. To add 2 fractions and reduce it to the simplest form Another question I couldnt remember but it was easy
Viewing 921 - 930 interview questions