All Puzzles
-
There is a table with a row of 2014 cards. Each card has a red side and a blue side. We’ll say that a card is red if the color on its visible face is red, and analogously for blue. Two players take turns to do the following move: select any 50 consecutive cards where the left-most card is red, then flip each of those 50 cards (thus, for those 50 cards, turning red cards into blue cards and blue cards into red cards). Both players look at the cards from the same side of the table, so “left-most” means the same to both of the players (that is, you can think of one of the ends of the table as being designated as the left end). When it is a player’s turn, if that player cannot make a move (that is, if there is no way to select 50 consecutive cards the left-most one of which is red), then that player loses and the other player wins. If you are one of the players and all cards are initially red, can you be sure to win, and if so, do you want to be the player who goes first or second?
View SolutionSubmit Solution- 1,606.7K views
- 1 answers
- 0 votes
-
Two arbitrary rectangles are placed to form an “L”. That is, the lower left-hand corner of the two rectangles share the same point. (What I’m trying to say is that there’s an “L” whose “I” and “_” parts have arbitrary widths and heights.) Using only a (pen and a) straightedge (that is, no measuring device and no compass), figure out a way to, with a single straight cut, divide the “L” into two pieces of equal area.
View SolutionSubmit Solution- 1,609.2K views
- 1 answers
- 0 votes
-
You had an infinite supply of water and a 5 ml and 3 ml gallons.
How would you measure exactly 4 ml in least number of steps ?
View SolutionSubmit Solution- 1,612.2K views
- 2 answers
- 0 votes
-
A guy claims to do the following thing. He puts a coin in a glass bottle. Then, he shuts the mouth of the bottle with the help of a cork. Now he manages to remove the coin out from the bottle without taking out the cork or breaking the glass bottle.
Do you know how he can do it?
View SolutionSubmit Solution- 1,607.4K views
- 1 answers
- 0 votes
-
An art gallery features a modern work of ‘moving art’. The artist stands by a stack of paintings, each featuring a different number. One of the paintings is displayed on the wall. At certain times the artist removes the painting from the wall and replaces it with a painting from the stack. At 11am, the artist hangs a painting of the number 30. At 4pm he hangs a painting of number 240. At 7.30pm he hangs a painting of number 315. What painting does the artist hang at 9.20pm?
View SolutionSubmit Solution- 1,610.1K views
- 1 answers
- 0 votes
-
- 1,615.0K views
- 1 answers
- 0 votes
-
Implement the function boolean isPalindrome (int n); Which will return true if the bit-wise representation of the integer is a palindrome and false otherwise.
View SolutionSubmit Solution- 1,608.4K views
- 1 answers
- 1 votes
-
You have 32 numbers. What is the least number of comparison needed to find the 2nd smallest out of them?
View SolutionSubmit Solution- 1,607.3K views
- 1 answers
- 0 votes
-
How many trailing zeroes are there in 100! (100 factorial) ?
View SolutionSubmit Solution- 1,606.8K views
- 1 answers
- 0 votes
-
There are 100 doors, all closed. In a nearby cage are 100 monkeys. The first monkey is let out, and runs along the doors opening every one. The second monkey is then let out, and runs along the doors closing the 2nd, 4th, 6th,… all the even-numbered doors. The third monkey is let out. He attends only to the 3rd, 6th, 9th,… doors (every third door, in other words), closing any that is open and opening any that is closed, and so on. After all 100 monkeys have done their work in this way, what state are the doors in after the last pass, which doors are left open and which are closed ?
View SolutionSubmit Solution- 1,607.3K views
- 1 answers
- 0 votes