• Brain Teasers & Puzzles

    Questions Per Page:
    • There is an equilateral triangle and three bugs are sitting on the three corners of the triangle. Each of the bugs picks up a random direction and starts walking along the edge of the equilateral triangle. What is the probability that none of the bugs crash into each other?

      View Solution
      Submit Solution
      • 1,618.1K views
      • 1 answers
      • 0 votes

    • Amanda dies and reaches at the gate of heaven. She has three doors in front of her out of which only one of them leads to heaven. Out of the other two gates, one leads to hell for one day and then back to the gate and one leads to hell for two days and then back to the gate. If she chooses one of these two gates, the gates are shuffled when she returns back.

      How long will Amanda take to reach heaven?

      View Solution
      Submit Solution
      • 1,617.9K views
      • 2 answers
      • 1 votes


    • prisionor-warden-puzzle

      23 selected prisoners are summoned by the warden. He gives them a choice of playing a game with him that might ensure their escape from the prison or might as well lead them towards painful death. The prisoners think that this is the only chance for them to be free again and agrees to him.

      The warden tell them that there is a room which has just two switches which are labelled 1 or 2. The switches may be up or down and the condition is not known at present. They are not connected to anything. The warden may select any prisoner on any day and send him to the switch room. The prisoner will have to select any one switch and reverse its position i.e. if it is up, he will turn it down and if it is down, he will turn it up. He can and must only flip one switch and then he will be confined to his cell again.

      The warden may choose the same prisoner more than one time and he will be choosing completely randomly. But at a certain point of time, everyone will have visited the switch room. And at any time, the prisoners may declare that everyone has visited the room at least once. If they will be true, they will be set free but if they will be wrong, they will be killed.

      The warden gives them an hour to plan any kind of strategy and then they will be confined to their respective cells and will never be allowed to meet. What strategy can help them be free?

      View Solution
      Submit Solution
      • 1,619.3K views
      • 1 answers
      • 1 votes



    • uhusband-wife-puzzle

      There is a town named Panem. The town is well built and have every facility available to the citizens. It comprises of 100 married couples. The husbands of the town are very loyal to their wives but that happens for a reason. There is a rule that is followed by the people of the town. If any wife finds out about her husband’s infidelity, the husband is immediately executed.
      No woman in the town talks about their own husband and all they do is gossip about others’. Thus every woman in the town is familiar with all the other unfaithful husbands but does not know about their own. This can also be explained as that the husbands remain glued lip about their own unfaithfulness.

      One day, the mayor of the town announces to the people that there is at least one cheating husband in the town. What will happen now?

      View Solution
      Submit Solution
      • 1,618.0K views
      • 1 answers
      • 0 votes

    • time-puzzle

      Two observations were made of a clock at different time:
      1st observation:
      The hour hand is exactly at a minute mark and the minute hand is six minutes ahead of it.

      2nd observation:
      The hour hand is exactly on a dissimilar minute mark and the minute hand is seven minutes ahead of it.

      Can you find out how much time has passed between the above two observations?

      View Solution
      Submit Solution
      • 1,615.6K views
      • 1 answers
      • 0 votes

    • car-puzzle

      On a windy rainy night , I was driving in my car.
      When i reach the bus stand , i see three people waiting for the bus.

      1. An old lady who needs an immediate medical attention
      2. My Best Friend
      3. Girl whom i love from childhood

      My car is a two seater, so can you tell me , what i have done in this situation ?

      View Solution
      Submit Solution
      • 1,617.5K views
      • 1 answers
      • 1 votes



      • 1,626.1K views
      • 2 answers
      • 1 votes

    • The Scoop
      Tristan’s sister Angela and her four friends love to share their most recent diary entries with each other at sleepovers. This last sleepover, Tristan was able to snag each of the girls’ diaries after they fell asleep. He flipped through them and found that each girl had a different crush, a different favorite shade of nail polish, and a different preference in ice cream flavors – and each of them had a big, juicy secret! See if you can figure out what he learned about each of his sister’s friends – and his sister.

      The Choices
      Girls: Angela, Mandy, Savannah, Alyssa, and Lily
      Crushes: Josh, Noah, Luke, Ben, and Sam
      Nail Polish Shades: Lavender, Lime, Banana, Sky, and Crimson
      Ice Cream Flavors: Rocky Road, Rainbow Sherbet, Cookie Dough, Reese’s Peanut Butter, and Raspberry Cheesecake
      Juicy Secrets: Still sleeps with a blankie, Loves lima beans, Hates Justin Bieber, Is really into cars, and Wants to be a lunch lady

      The Clues
      Tristan read five different entries for January 7th. One said, “Noah said, ‘Nice hair, Savannah,’ and I felt special.” Another said, “My nails are purple again, just like I like them.” A third said, “I wish Luke would look at me.” The fourth said, “I lost my beloved blankie this morning.” The last said, “I’m dying for some more of that rainbow sherbet.”

      “January 8th. Dear Diary, I accidentally chipped one of my perfect, lime-green nails today while doing my daily private anti-Justin Bieber ritual.”

      “January 9th. Dear Diary, Josh caught me examining his awesome antique Chevrolet after school today. I guess I was kind of hoping he would.”

      “January 10th. Dear Diary, Angela was writing a love note today. I tried glancing over her shoulder, but all I caught was the second letter of its recipient’s name, which looked like either a U or an A, and something about being a lunch lady before she yanked it away.”

      “January 11th. Dear Diary, I hope Sam likes the color red…I also hope he doesn’t mind girls who still sleep with blankies…”

      “January 12th. Dear Diary, I think it’s funny that both me and Savannah like nail polishes that are named after fruits. Love, Alyssa.”

      “January 13th. Dear Diary, I saw Sam eating Reese’s Peanut Butter ice cream yesterday. Could this be a sign that we’re meant to be? Love, Mandy.”

      “January 14th. Dear Diary, I just noticed that the name of my favorite shade of nail polish has something majorly in common with my name, and Alyssa’s favorite shade starts with the same letter as her crush’s name.”

      “January 15th. Dear Diary, The girls were over at my house last night, and someone flicked cookie dough ice cream at me. It couldn’t have been Angela, who will only eat raspberry cheesecake ice cream, and Savannah was in the bathroom…”

      View Solution
      Submit Solution
      • 1,618.7K views
      • 1 answers
      • 1 votes

    • Andrew Richardson, deputy head cryptographer at a top department of defence (DOD) facility, was working late one night. The last set of codes he received to decipher came from NASA ‘s space station. Apparently they had been receiving the same 5 set of codes over the past week on a high frequency band in visual digital format. They read……………

      wmoa eemn cfuu orrs
      wkia eesn ltpe ihlt
      hwth oeno pgem eewe
      wsta auob rnpl ispe
      aust lmmd laui hnse

      “Strange,” Andy thought. “Never received work from this site before.”
      Eager to finish and get home, he set to work on figuring out the troublesome codes. The first one took him some time ………….

      WE COME FROM URANUS.

      “What!” he laughed. He thought it was a joke or that he had deciphered incorrectly. However he continued using the same template, and by the time he’d finished he wasn’t laughing anymore. He quickly picked up his phone and dialed his director and then the head of the DOD. Somehow he knew he wasn’t going home tonight.

      What did Andy find that got him so worried?

      View Solution
      Submit Solution
      • 1,618.4K views
      • 1 answers
      • 1 votes



    • There was a death on Treebark Ln. The victim was identified as Mark Oswalt, who recently was married. The police went to the crime scene and they reported the death as a suicide.

      Later that day, after the police left, a private detective, hired by the victim’s friend who thought it was a murder, searched the crime scene and found a note the police missed.

      It read,

      “4,3: 8,1:_: 9,1: 2,1: 7,4:_: 6,1:9,3:_: 9,1: 4,3: 3,3: 3,2: !”

      The detective took out his cell phone and started dialing the police to tell them about his findings. Once the detective opened the phone to dial, he immediately screamed out, “I SOLVED IT!”

      Who was the murderer and how did the detective find out?

      View Solution
      Submit Solution
      • 1,617.8K views
      • 1 answers
      • 1 votes

    • Justin Case and Auntie Bellum are fellow con artists who deliver coded messages to each other to communicate. Recently Auntie Bellum was put in jail for stealing a rare and expensive diamond. Only a few days after this, Justin Case sent her a friendly letter asking her how she was. On the inside of the envelope of the letter, he hid a code. Yesterday, Auntie Bellum escaped and left the envelope and the letter inside the jail cell. The police did some research and found the code on the inside of the envelope, but they haven’t been able to crack it. Could you help the police find out what the message is?

      This is the code:
      llwatchawtfeclocklnisksundialcirbetimersool

      View Solution
      Submit Solution
      • 1,618.7K views
      • 1 answers
      • 0 votes

    • How many tigers are there in the picture?

       

      some say there are 4 tigers, some say 9, some say 20
      can you find out how many tigers are there?

      View Solution
      Submit Solution
      • 1,620.3K views
      • 1 answers
      • 1 votes

    • Clock

      The number of hours left today is half of the number of hours already passed. What time is it?
      A. 8:00 a.m.
      B. 12:00
      C. 14:00
      D. 16:00

      View Solution
      Submit Solution
      • 1,618.1K views
      • 1 answers
      • 0 votes

    • Here is snippet of section A of the curious multiple-choice entrance exam into the exclusive Puzzlefry puzzle club.

       

      1. The first question with B as the correct answer is:

      A. 1
      B. 4
      C. 3
      D. 2

      2. The answer to Question 4 is:

      A. D
      B. A
      C. B
      D. C

      3. The answer to Question 1 is:

      A. D
      B. C
      C. B
      D. A

      4. The number of questions which have D as the correct answer is:

      A. 3
      B. 2
      C. 1
      D. 0

      5. The number of questions which have B as the correct answer is:
      A. 0
      B. 2
      C. 3
      D. 1

       

      View Solution
      Submit Solution
      • 1,617.7K views
      • 1 answers
      • 0 votes

    • After the recent Puzzle  annual marathon, the judges were comparing notes to determine who finished where. From their notes, can you help them to reconstruct the final result?

      • Matthew Merryman beat Tom Trent and Jimmy James.
      • Peter Piper beat Jimmy James, Tom Trent and Alan Ardman.
      • Zach Zebra lost to Peter Piper.
      • Graham Goodfellow beat Tom Trent
      • Zach Zebra beat Frank Flintbone.
      • Graham Goodfellow lost to Frank Flintbone and Peter Piper.
      • Tom Trent beat Brian Brick.
      • Alan Ardman beat Zach Zebra, Kevin Kingfisher and Graham Goodfellow.
      • Kevin Kingfisher lost to Graham Goodfellow and Matthew Merryman.
      • Brian Brick beat Kevin Kingfisher.
      • Matthew Merryman lost to Alan Ardman and Zach Zebra.
      • Frank Flintbone beat Tom Trent, Matthew Merryman and Brian Brick.
      • Tom Trent lost to Jimmy James and Alan Ardman.
      • Jimmy James beat Graham Goodfellow and Brian Brick.
      View Solution
      Submit Solution
      • 1,616.9K views
      • 1 answers
      • 0 votes

    • At the recent spring fete, four keen gardeners were displaying their fine roses.

      In total there were four colours and each rose appeared in two colours.

      From the clues below can you tell who had which colour roses?

      • Mr Green had a yellow rose.
      • Mr Yellow did not have a red one.
      • Mr Red had a blue rose but not a green one.
      • Mr Blue did not have a yellow one.
      • One person with a red rose also had a green one.
      • One person with a yellow rose also had a blue one.
      • One of the persons with a green rose had no red.
      • Neither of the persons with a yellow rose had a green one.
      • No person has two roses of the same colour.
      • No two persons had the same two colour roses and their names provide no clues.
      View Solution
      Submit Solution
      • 1,617.5K views
      • 1 answers
      • 0 votes

      • 1,627.4K views
      • 1 answers
      • 1 votes

    • A king wants an advisor and comes to ask the 3 wisest sages.

      He blindfolds them and put the hats on their head. Afterwards, the king takes off their blindfolds. He tells them that their hat is either blue or white. He tells them that whoever can deduce the color of their hat will be his next advisor. Also he tells them that at least one of the sages will be wearing a blue hat. The sages can all see each other’s hats except of course, their own. Sage A sees that the other 2 are wearing blue hats.
      For hours no one spoke, then Sage A stands up and tells the  king the colour of his hat. What color is it and how does he know?

      View Solution
      Submit Solution
      • 1,621.9K views
      • 4 answers
      • 1 votes



    • King Akbar asked Birbal

      Write something on this wall, which if read in good times, makes you sad and if read in your bad time, makes you happy.

      View Solution
      Submit Solution
      • 1,621.3K views
      • 2 answers
      • 1 votes

    • This was the second problem for Google Code Jam Qualification round 2014, if you are able to solve this problem with the first one(which is very easy) you will be eligible for the next round.

      Problem

      In this problem, you start with 0 cookies. You gain cookies at a rate of 2 cookies per second, by clicking on a giant cookie. Any time you have at least C cookies, you can buy a cookie farm. Every time you buy a cookie farm, it costs you C cookies and gives you an extra F cookies per second.

      Once you have X cookies that you haven’t spent on farms, you win! Figure out how long it will take you to win if you use the best possible strategy.

      Example

      Suppose C=500.0, F=4.0 and X=2000.0. Here’s how the best possible strategy plays out:

        1. You start with 0 cookies, but producing 2 cookies per second.

       

        1. After 250 seconds, you will have C=500 cookies and can buy a farm that producesF=4 cookies per second.

       

        1. After buying the farm, you have 0 cookies, and your total cookie production is 6 cookies per second.

       

        1. The next farm will cost 500 cookies, which you can buy after about 83.3333333seconds.

       

        1. After buying your second farm, you have 0 cookies, and your total cookie production is 10 cookies per second.

       

        1. Another farm will cost 500 cookies, which you can buy after 50 seconds.

       

        1. After buying your third farm, you have 0 cookies, and your total cookie production is 14 cookies per second.

       

        1. Another farm would cost 500 cookies, but it actually makes sense not to buy it: instead you can just wait until you have X=2000 cookies, which takes about142.8571429 seconds.

       

      Total time: 250 + 83.3333333 + 50 + 142.8571429 = 526.1904762 seconds.

      Notice that you get cookies continuously: so 0.1 seconds after the game starts you’ll have 0.2 cookies, and π seconds after the game starts you’ll have 2π cookies.

      Input

      The first line of the input gives the number of test cases, TT lines follow. Each line contains three space-separated real-valued numbers: CF and X, whose meanings are described earlier in the problem statement.

      CF and X will each consist of at least 1 digit followed by 1 decimal point followed by from 1 to 5 digits. There will be no leading zeroes.

      Output

      For each test case, output one line containing “Case #x: y”, where x is the test case number (starting from 1) and y is the minimum number of seconds it takes before you can have X delicious cookies.

      We recommend outputting y to 7 decimal places, but it is not required. y will be considered correct if it is close enough to the correct number: within an absolute or relative error of 10-6. See the FAQ for an explanation of what that means, and what formats of real numbers we accept.

      Limits

      1 ≤ T ≤ 100.

      Small dataset

      1 ≤ C ≤ 500.
      1 ≤ F ≤ 4.
      1 ≤ X ≤ 2000.

      Large dataset

      1 ≤ C ≤ 10000.
      1 ≤ F ≤ 100.
      1 ≤ X ≤ 100000.

      Sample

       

      Input Output
      4
      30.0 1.0 2.0
      30.0 2.0 100.0
      30.50000 3.14159 1999.19990
      500.0 4.0 2000.0

       

      Case #1: 1.0000000
      Case #2: 39.1666667
      Case #3: 63.9680013
      Case #4: 526.1904762

       

       

      View Solution
      Submit Solution
      • 1,617.6K views
      • 1 answers
      • 0 votes

  • More puzzles to try-