instruction
stringlengths
32
29.2k
A man lives in a small house with a farm as his back garden and has a river beside his house. On the other side of the river is a shop. One day, he visited the shop, he bought a chicken and a fox for his farm and bought a bag of corn to feed the chicken. The man can only take one thing and himself across in the boat. W...
In the past, I've made some simple ciphers as part of larger riddles, and sometimes this has lead to puzzles coming undone in the middle. So all of you who enjoy trying to crack cryptograms with analytic techniques, here's one just for you!! Can you determine both the key used to encrypt and the original message (it wi...
There's a song I really like but I can't remember the title and I certainly can't remember the words. Perhaps you can help me. I've summarised the lyrics as best I can, but in a rather literal way. I'm afraid I've forgotten the first verse completely so that makes it even harder. Anyway here goes with the bit I can rem...
Rules You are given a square grid, with numbers (0-9) in some of its cells. You have to connect some of the numbers, so that each "island" of numbers has the same total sum. A number can have anywhere from 0 to 4 connections that go straight up, down, left or right. Two connections may never intersect. Some notes: You...
Oh! Please help. There is a number sequence hidden in here, but where? Here are just a few examples so I will make the answer multiple choice. Can you find the sequence, the pattern, and the choice that follows the same pattern? I hope this isn't too broad and only one pattern matches. OPTION 1 I'm the fir...
I had an idea for a cipher and I don't know enough about ciphers to know if it already exists. I'd like to see how easily this is solved and if such an idea is already popularized somewhere. I have a hard time believing that nobody has ever had the idea because I'm just not that clever but I don't remember seeing it be...
My Indian friend Jamal recently participated in the well-known TV quiz show Who wants to be a millionaire?. You might have heard or read about Jamal's spectacular success; the media reported on it extensively. Here is what Jamal told us about the 16.000 Euro question: The 16.000 Euro question brought up my area of e...
Notation: For an integer $k\ge1$, let $D(k)$ denote the sum of all positive integer divisors of $k$ that are strictly smaller than $k$. For example $D(9)=1+3=4$ and $D(33)=1+3+11=15$. A man picked two odd positive integers $m\ge3$ and $n\ge3$. He computed the sums of divisors for $m$ and $n$, and multiplied them toge...
My first attempt: One was a star. The best was bested. One drove a car. One only rested. One made art. With stones they vied. But then they did part. And half of them died. 31 was a cop. Mustard's bank was his nose. They rose to the top. As your matriarch knows. Of the last two, One is amazed. ...
I often wonder: suppose I wake up one day and find myself in a maze of Hedges, like the one in "The Shining", what is the best strategy to get out of it? We can assume we have sunlight or a torch if its night time (or a full moon night). I suppose there is some better option then running around randomly?
Video game theme period has ended but have another puzzle anyway. You're in some sort of apartment of interconnecting rooms. The below map materializes in your hands (so magical), highlighting that you are in Room *. A B C D E F G H 1 I J K L 2 * M N O P Q 3 R S T U V W X Y Z A message appears on the flo...
Today I met professor Halfbrain at the tea house. The professor looked very tired, and apparently had not slept for the last couple of days. He told me that he had been spending his time with cutting right-angled triangles into smaller pieces. The professor had originally started out with six huge right-angled trian...
For each of the numbering systems below, can you determine the rule for representing numbers in that system? Decimal Number System 1 Number System 2 Number System 3 25 9 231 200 392 $, 6040 2003 5,236 W+ 83440 1011002 146,004 00t 1380300 300000012 25,897,872 >3V1 C6345030 123014
Let me tell you about the day in my life that everything changed. Maybe it will sound something like your life. Maybe only bits and pieces will seem familiar. I got up early this morning, but that isn’t out of the ordinary- the men in my commune usually wake everybody up at the crack of dawn. As the sun was rising,...
This is in the spirit of the What is a Word/Phrase™ series started by JLee with a special brand of Phrase™ and Word™ puzzles. If a word conforms to a special rule, I call it a Tellygraph Word™. Can you tell me how to get a word that conforms to the rule? And, if you want to analyze, here is a CSV version: Tellygraph ...
This is in the spirit of the What is a Word/Phrase™ series started by JLee with a special brand of Phrase™ and Word™ puzzles. If a word conforms to a special rule, I call it a Unbeecoming Word™. Use the following examples below to find the rule. And, if you want to analyze, here is a CSV version: Unbeecoming Words™,N...
This is in the spirit of the What is a Word/Phrase™ series started by JLee with a special brand of Phrase™ and Word™ puzzles. If a word conforms to a special rule, I call it a Measured Word™. Use the following examples below to find the rule. And, if you want to analyze, here is a CSV version: (If you copy this text e...
I AM AN IDIOT AND HAD THE WRONG NAME FOR THE NEMESIS I'm a little worried now that the pattern won't get recognized because it's requires an "Aha!" leap that is only obvious to me because I designed the puzzle. I'll try to give a few more helpful hints and see what happens. Before he was an evil overlord ruling with a...
I am one of many brothers & sisters, Maybe the most important of all. I am made fun of because I'm different I do not deny I am the fattest of them all! Indeed I bring order to our master, without me their words would be in duress. You can see a part of me everywhere Near you or above, in the vast expanses. The oth...
So, my math teacher gave us a magic math square with the 9 in the bottom right corner, the 7 in the left column middle row, and the 1 in the middle column top row. She said she would give whoever figured this out a can of soda from the teachers' lounge. I can't figure it out. I've tried nonstop for 2 days$\ldots$ ...
Beatles and Friends: Derek, some called me, Earlier in my life. I took Majnun's story, And my best friend's wife. I met them with Richard. In circles it goes. And twice near the end, My service they chose. Famous in my own right. They asked for my axe. But the "number" that night, I played on a sax. I was often abo...
I have been many things in my life. Specifically, and in order, a monkey, a knife, a junkie, an alien, a lunatic, a cat, an aristocrat, a clown, and finally, an earthling. What or who am I, and what do each of these things refer to? Hints: The first was eponymous, the second a change, the third an explorer, the ...
You are a prisoner. One day, the Warden summons you and ninety-nine others to see his hat collection. "Bowlers and baseball caps. Stensons and sombreros. One hundred and one headpieces, each unique in the world," says the Warden. "You are the smartest of prisoners in my domain, and by law I must offer you a chance at...
Let me take the English word "stone" as an example: Replacing the string "one" by the corresponding number "1" allows me to write stone as st1 In Dutch, "stone" is translated to "steen" and "one" is translated to "een". Replacing the string "een" by the corresponding number "1" allows me to write steen as st1 No...
Find the largest integer $N$ whose decimal representation has the following properties: The rightmost digit in the decimal representation is not $0$. There exists a digit $d$ in the decimal representation which is not the leftmost digit, so that crossing out this digit $d$ yields the decimal representation of an integ...
Of three persons A, B and C, one always lies while the other two always speak the truth. C asked A: "Do you always speak the truth, yes or no?" A said something that C could not understand. So C asked B: "What did A just say?" B replied: "A said NO." So, who is the liar?
I take a box and put $K$ mini boxes inside. Then I chose several of those mini boxes at random and put $K$ micro boxes in each. I continue this procedure indefinitely long. Thereby, at the end each box contains (directly) either K or 0 boxes. I tell you that there are $M$ boxes, which are not empty. Tell me how many...
An autonumerogram, or self-enumerating number, is a number that can be read as describing itself by providing a pairwise inventory of its own digits. For example, 22 (two 2's) and 14233221 (one 4, two 3's, three 2's, and two 1's) are both autonumerograms. A pan-digit autonumerogram of order n is an autonumerogram cont...
I think my math teacher is a spy. On the first day of class, they wrote most of a secret message on the board - teacher said there were some letters missing. They said that anyone who could solve it would get extra credit. I think they're trying to find recruits for their secret organization. I've always wanted to be a...
Sheldon, Leonard and Wolowitz play a sizzling game of rock-paper-scissors for three players. In every round, each player simultaneously shows one of the three shapes. Rock beats scissors, scissors beats paper, and paper beats rock. If in a round exactly two distinct shapes are shown then 1 point is added to the score o...
All I know is that this is in hexadecimal, after that I can't figure out how to decrypt this: 30 36 31 20 30 36 35 20 30 36 30 20 30 34 30 20 30 36 31 20 30 36 36 20 30 36 34 20 30 34 30 20 30 36 31 20 30 36 36 20 30 36 34 20 30 34 30 20 30 36 31 20 30 36 36 20 30 36 30 20 30 34 30 20 30 36 31 20 30 36 36 20 30 36 33 2...
So, a few days ago I told James the answer to his riddle. He seemed at the same time proud of me and a bit disappointed... I guess he thought it would take longer to solve! "It seems the witch's hex and Bacon for breakfast weren't such subtle clues then!", he said. I felt then these puzzles were only starting... Lately...
In each category, all the animals have something in common, and all the categories are related. Category 1a: Walruses, birds, ponies, tigers, elephants, cats, monkeys, bulldogs, bees, raccoons, cats, octopuses, pigs, bullfrogs, blue jays, Eagles, worms, fish, horses, homing birds, blackbirds, kittens, hogs, crabs,...
The above picture represents the drums stocked with wine at the shop. Each number represents the quantity in the same unit. At the end of the day, the last remaining drum is retained by the store owner since it contains red wine, while the rest contained white. While going through the sales record of the day, the owne...
Two plane mirrors facing each other are arranged at $60^o$ to each other. A point is located on the angle bisector. How many images of the point are there?
The ringmaster of a flea circus puts three fleas $A$, $B$, $C$ on three different numbers on the real number line, so that flea $B$ sits exactly in the middle between $A$ and $C$. Whenever the ringmaster shouts "Hop!", one of the three fleas jumps over one of the other fleas to the mirror point on the other side. (In...
The following, apparently random list of seemingly random nonsense is a metaphorical interpretation of something that exists in the real world. What is it? As always, go line by line. But once you figure it out, you'll have everything you need to write the solution. The current endeavor is not a genre, it is mass m...
The ringmaster of a flea circus puts four fleas $A$, $B$, $C$, $D$ on four different points in the plane that form the corners of a square. Whenever the ringmaster shouts "Hop!", one of the four fleas jumps over one of the other fleas to the mirror point on the other side. (In other words, a flea sitting in point $x$ ...
Same deal as previous post. One real world source; answers must explain each line and what they all mean when put together. Additionally amongst the mortality, while the final several cadavers reclined, decaying in the slick high street, the Venetian blinds raised 2.54 cm in Sobriety Structure, aloft on Rustlers' Kno...
https://puzzling.stackexchange.com/questions/23554/self-referential-puzzles made me wonder. How many solutions are there to the below box when multiple digits are allowed? I don't know the answer myself, so a good proof of your answer is appreciated. We're counting characters, so 11 is considered as two 1's and not as ...
Secret Agent Michael Scarn enters his hotel room, only to find it having been ransacked. He needs to send an encrypted message to his handler notifying them that his cover has been compromised. In order to send encrypted messages, agents need a Cryptographically Secure Pseudo-Random Number Generator. Agent Scarn has tw...
Hi, my friend gave me a puzzle, and I need help in solving it. I am required to decrypt this code and get a password. Please help! The hint is: $100 bill. Here's the text version of the image above: A,M,L, ,F,M,A,A N,L, ,C,F,H,E,G L,U, ,E, ,E,T, H,W,I,I,S, ,L,T F,N,O,T,H,E,C,E ,N,R,O,M,O, ,E , ,E,A, ,N,T,T M,T, ...
Based on Another curious incident in the flea circus and A curious incident in the flea circus by @Gamow There is a $n$ dimensional cube in an $n$ dimensional world. There is a flea on each vertex of the hypercube. When the ringmaster shouts "Hop!", any one flea at a point $A$ selects any other flea at another point $B...
You have a bag that contains $b$ black balls and $w$ white balls. ($b+w>2$) You put your hand into the bag and pull out a pair of balls. If both balls are black, you throw away one and return one to the bag. If both balls are white, you throw them both away. If the balls are of different colours, you throw away...
Following Part 1: Take away my second letter, and I still sound the same. Take away my third letter, I still sound the same. Even take away my fourth and fifth letters, I will still sound the same. I am a five letter word. What am I?
An equilateral triangle with sidelength $L$ can be tiled by trapezoids with sidelengths $2,1,1,1$. What are the possible values for $L$?
An assignment given to us as part of our college course in AI requires us to solve a cryptarithmetic puzzle. The problem is I can't find my way around puzzles - and it was never a problem until now, because courses which I took didn't have assignments where I had to solve a puzzle. I am looking for a general method to ...
Below are thirteen clues that describe paired words. The first word in each pair is an atrocious attribute. The second word is a fearful figure. The words in the pair share a sort-of stem (or simply a set) of consecutive letters. Example: Shopworn shrieker states stale stories = banal banshee Building bedizenment ba...
I come after you are born I'm painful when born I reveal myself when happiness comes But if you do not care for me I will hurt you. Born two times I live no longer as you live. I have two families in the same home, we all are fair. No one gets hurt if one of us dies. Who am I?
Fredo owns a nice balance with two pans. He now wants to design a system of 20 integer weights $w_1,w_2,\ldots,w_{20}$ with the following properties: $1\le w_1\le w_2\le w_3\le\cdots\le w_{20}$ Any integer weight $U$ from the range $1\le U\le2015$ can be balanced by placing it into the left pan and some subset of the...
I got a card with a text from a software company, and it tells me to decode it. The only thing written on the card is the following code: bWpvey9vam9rYjMxMjZBZXpvYnVzYmRmL2Rwbg== Might be Java related
We have a matrix made up of $m$ by $n$ dots. Can you give a function that counts the number of squares that can be found by joining any $4$ dots in it?
I was reading this question / answers realized that people spend a lot more time playing this game than I thought. I find it interesting - although you may not - to know what is the minimal time needed to get the maximal sum. Under reasonable assumptions, the question reduces to: What is the minimal number of moves nee...
Two hikers are separated by a two-dimensional mountain range, like the one shown below. The mountain range alternates between peaks and valleys, connected by straight lines. Both hikers are at sea level, and the mountain range never dips below sea level. The two hikers want to meet up with each other. Prove that they ...
Claire walks to work at 6km/hr and Charles cycles along the same route. Normally Charles overtakes Claire outside the public library. One day Claire leaves 20 minutes late and Charles overtakes her outside the swimming pool, 3km before she gets to the library. At what speed does Charles cycle? A 9km/hr B 12km/hr C 15km...
Two friends each weighing 150 lbs arrive at a Rope bridge 100 yards long. The warning sign at the start of the bridge informs it can hold only a maximum of 325 lbs of weight at any given second, otherwise it instantly collapses endangering any crossing humans. Both wish to cross the bridge simultaneously while each of ...
Playing on an $ n \times n $ grid, how can we determine the largest possible title you can achieve in a game, assuming the computer places tiles in the perfect spots.
It's almost Halloween at Farthingbottom School and Professor Charles Flavanna is getting festive. "Right children, put down your copies of The Origins of Fort Monmouth - it's time to carve some pumpkins! Have a look at my creation and follow suit. You have 30 minutes and no talking." After a sterling effort by the cla...
Halloween is just around the corner and the witch is planning a little party for the 100 villagers of the nearby village. Since the villagers burned down her house again and again during the last few years she would like to use this chance to make peace with them. At least that is what she told the villagers. Of course...
How to solve this puzzle? Please explain with steps please!
Professor Erasmus has constructed a special convex pentagon $ABCDE$ that he modestly calls the "Professor-Erasmus-pentagon". The professor claims that he can cut off a smaller pentagon similar to pentagon $ABCDE$ by a straight line. Question: Has the professor once again made one of his well-known mathematical blunde...
Bringing this puzzle type back again. (See the original for the solution format.) My first is what you will seek. My second is what you should be. My third is something all monsters have. My fourth is what you may feel. My fifth is the shameful answer the following day. Hint For 5, there is an abbreviation involved...
You are provided with the 8-segment array in the picture together with all the necessary electronics to make any combination of lit segments you want. Fillable version for graphics. https://i.stack.imgur.com/K1hnN.png What is the smallest positive number that you can display without any two boxes being identical? (A...
She is sunny, while his light does lack. She has a flavour, while he holds something back. Although he is far more solemn, her vividness may make you cringe. Still he goes fittingly with many others; she with her partners oft look fringe. Oh, these two paired, how surprising, they form quite the pack! Heed w...
The ringmaster of a flea circus puts four fleas $A$, $B$, $C$, $D$ on four different points in the plane that form the corners of a square. Whenever the ringmaster shouts "Hop!", one of the four fleas jumps over the centroid of the three other fleas to the mirror point on the other side. (In other words, a flea sitting...
This is a follow-up to the question, What is the smallest possible positive number on an 8-segment array? However, this time repeats are allowed! You are provided with the 8-segment array in the picture together with all the necessary electronics to make any combination of lit segments you want. Fillable version for ...
Recently I travelled far distance by train and a stranger told me this riddle but I never got the answer: 100 years ago, when far distance travelling was something special, a traveller came back from far countries to his town. He was in 16 different countries and from each country he brought back 4 treasures. He hid ea...
Bringing back the Backwards Hangman (created by Alex, see here for the first). fill in an "f" - The devil may carry. fill in a "d" - Probably has glasses. fill in a "c" - Popped at the party. fill in a "w" - A lot of this went into the first 3. As always, your answer should be in form of: The question was: _ p p l e ...
It's the eve of Halloween, and everyone is gathering for the Monster Bash at the Monster Mansion. The same haunts are hosting this year's event: Count Dracula, Frankenstein's Monster, Wolfman, Mummy, and the Gillman, visiting from the Black Lagoon. Normally, their parties are pretty exclusive, but you've gotten frie...
Insprired by the previous backwards hangman (created originally by Alex, see here), which was solved so quickly, I though I'd make another one. Hopefully slightly harder! Three solutions in a minute suggests more demand is there and more supply needed. I've made the clues a little more cryptic: Fill in an "x" - Grow...
What number comes next? 11,13,17,19,23,25,?
The famulus of a mathematical meta magician puts infinitely many cards into a top hat. Each of these cards carries a non-negative integer. The top hat contains exactly $n$ cards showing the integer $0$, exactly $n$ cards showing the integer $1$, exactly $n$ cards showing the integer $2$, exactly $n$ cards showing the...
The square numbers $ 1^2, 2^2, 3^2, 4^2, \cdots, 100^2, 101^2 $ are written on the blackboard. Each minute any two numbers are wiped out, and the absolute value of their difference is written instead. At the end only one number remains. What is the smallest value that this final number can take?
My previous backward hangman (created originally by Alex, see here), was still solved too quickly, so I thought I'd make another tweak to make it a bit more tricky. This time, whatever the bizarre back story is, is repeated four times. But unfortunately the clues were mixed up. So there are four different words with ...
Alice the Witch had a great night last night. She'd had a Halloween night house party with five of her closest friends from Witch College that she hadn't seen for ages. They had been drinking and gossiping and laughing until the sun had almost come up. Even their familiars had behaved well too (except for Gertie's whic...
Eighteen coins are arranged in a circle. In the beginning, all eighteen coins show tails. The following two moves are allowed: Simultaneously flipping over four consecutive coins (so that tails become heads, and heads become tails); for instance the coins in positions 6,7,8,9 may be flipped simultaneously. Simultaneou...
Given the implications $$aN\implies S$$ $$eF\implies I$$ $$gH\implies M$$ could you please complete the following implication: $$nS\implies ?$$ (The answer is one of the letters $T$, $A$, $L$, $K$.)
My name is ????? You must find out Dr. Mysterious's name, which is your greatest weapon against him (it gives you power over him). His slave, Mr. Useless, has sent you some information but it is encrypted to prevent it from falling into the wrong hands. You must decrypt this information or the world will be destroyed b...
It's known that the numbers 1 to 9 can only form eight different magic squares, which are all rotations and reflections of each other. Is there any set of 9 distinct numbers that can form two essentially different magic squares, which means that you can't get from one to the other using rotations and reflections? If no...
In the game Undertale, there is a character named Papyrus who believes that the Jumble puzzle is much harder than the daily crossword. Help prove him right by trying to solve this brainteaser:
This is related to my previous question, Q: Nice song, pity about the words I have a terrible memory for the words of songs and I'm even worse when it comes to their titles. I'd really like to find this very well-known song on Youtube, if only I could remember what it is called. Can you help me with the title? Here...
I'm Caucasian and my fiancé is Chinese - I met her on a trip to Tahiti though as chance would have it, it turned out that we actually grew up in adjacent towns in Ohio. We decided to have a very intimate wedding and only invite our respective immediate family members. We had yet to ever introduce one another to our re...
Alice and Bob play the following game with $99$ numbers $M_1,\ldots,M_{99}$. In the beginning, the $99$ numbers take the values $1,2,4,8,16,\ldots,2^{97},2^{98}$. Then Alice and Bob alternatingly make moves; Alice makes the first move. In every move, the active player picks five numbers $M_a,M_b,M_c,M_d,M_e$ (with fiv...
A man picks up a huge circular dart board and shoots paintballs at it. $n$ paintballs manage to hit it. They are random and point-sized, for the purpose of this question. A bug is somewhere on the edge of the board. It likes to eat paint, so it goes to the nearest smear of paint and eats it. It then goes to the nearest...
What is the smallest box diagram you can draw which uses all of the Unicode box drawing characters at least once, but without leaving any loose ends? For reference, you must use each of these characters at least once (not counting the spaces, which are just there for alignment purposes): ─ │ ┌ ┐ └ ┘ ├ ┤ ┬ ┴ ┼ ═ ║ ╔ ╗ ...
My first's where you are when you aren't trick-or-treating My next is the start of what kids will be eating My third, when gigantic, might test your comport My fourth starts the season where goblins cavort My fifth is a note sung by sirens that lure you My last's where you put the disguise that obscures you ...
What happens to Pinocchio's nose if he says to another person "My nose is about to grow"? Does it grow? Does it stay the same? Something else?
Few days ago, the notorious Blackbeard sunk 3 of my ships carrying exotic goods and treasures from Asia. I was furious and I am determined to send out my fleet to bring him to justice. However, as he is a well known and a formidable pirate, I need to plan my attack carefully. So I send out a number of scouts, hoping th...
It was for me that modern quantization was named, and I'm important to theorists of certain persuasions. Given a space, I can say I greatly enjoy it! My companions I'm never far from, and together we labor—though one may oppose me. I bear the moon near one end, and a tree at the other. I bend in the middle, but what m...
My adviser's brilliance crushed the Blackbeard's fleet, and we held a banquet to celebrate. The banquet was short lived however, for a arrow flew right past me and struck a pillar. Attached was a message from Blackbeard. It reads Arrr, how dare you attack me branch fleet while I was out swashbucklin'. By the name of m...
The ringmaster of a flea circus draws a square $ABCD$ with corners $A=(+1,+1)$, $B=(+1,-1)$, $C=(-1,+1)$, $D=(-1,-1)$ in the Euclidean plane and picks a point $P$ with integer coordinates outside the square. The ringmaster then places a single flea onto point $P$. Whenever the ringmaster shouts "Hop!", the flea looks...
I am amazed at my adviser's brilliance once again. Blackbeard's vanguard fleet was quickly sunk. And as luck would have it, the moment we finished cleaning up the mess, the scout returned with the lost scout from the first engagement. He seemed extremely excited and kept pointing to a piece of paper. Upon closer look, ...
Chuck Asimov is a keen inventor and balloonist. He has developed some humanoid robots and decided to take nine of them (conveniently numbered 1 to 9) on a trip in his hot air balloon. Unfortunately the weather conditions have deteriorated rapidly and the balloon has been blown off-course - it is heading for a range o...
You have 6 boxes. You can use the digits from 1 to 9 but not 0. Digit repetition is not allowed. The total sum of the numbers/digits should be 20. $$ \huge\square\square\square\\ \huge\square\square\square $$
This puzzle is the continuation and second part of: "A final incident in the flea circus: Part 1" The ringmaster of a flea circus draws a square $ABCD$ with corners $A=(+1,+1)$, $B=(+1,-1)$, $C=(-1,+1)$, $D=(-1,-1)$ in the Euclidean plane and picks a point $P$ with two non-integral coordinates outside the square. T...
There are two species living in the land of Puzzling: elephants and dinosaurs. Elephants always tell the truth when talking about an elephant, but always lie when talking about a dinosaur. Dinosaurs always tell the truth when talking about a dinosaur but always lie when talking about an elephant. (Note that 'Dum...
Story: You go to a restaurant called "Likeable Alb's" to eat some of their world-famous chips. You sit down in your chair. Some time later, the waiter comes and hands you the menu. The menu contains how much money it will cost to buy certain amounts of chips. "Alright then" you say, as you look at the menu. The menu re...
When I was cleaning my basement I found one puzzle that my father gave me when I was a child. I really want to know the name of it! Could someone help me? The puzzle consist in 4 disks, and each disk have 4 balls. To beat the puzzle you have to put balls with the same color in the same column. here is some pictures:
This is a slight adaptation of a google interview question that I found entertaining. You are given a jar with N coins, K of them are fair. The remaining coins have heads on both sides. You choose a coin at random from the jar and flip it m times. If you get heads all m times, what is the probability that you selecte...
Blackbeard is no more, and everything seemed peaceful again, but during the last engagement with Blackbeard, my military adviser got introduced to the concept of "computer", and became very interested in its capability and uses. So it is not a surprised when he led a team of engineers and farmers to build a massive "co...