Full question:
You are standing in a corridor with N closed doors. The person walks by you and opens every door. Then the second person walks by an ...
Search results for odd
Prints odd numbers less than N
Posted by aleksin
Question:
Write recursive method that for a positive integer n prints odd numbers
Answer:
I usually use binary check to solve this type of questions ...
Answer:
This is an example of so called mixed sequence. There are two parts. The numbers on even spaces are 10,9,8,7,6 and the numbers on odd spaces ...
Conspiracy of Stereotype
Posted by CommonInterview
Conspiracy of Stereotype is that how do you paint yourself in front of people. It is commonly said that the first impression is the last. Hiring compa ...
Write a function bool isEven(int Number) which would check if input number is even or odd.
Solution:
The key to this question is to understand tha ...
If the applicant is able to answer this question correctly, the odds are good that they have some experience working with stored procedures.
A return ...
The general problem is you will be given n balls and one of them is either heavier or lighter and you are asked to find out the minimum number of weig ...
Imagine you have eight coins, seven of which weigh the same and one that doesn’t (it’s heavier). You need to use a pair of scales to find out what ...
« previous1 next »
