PuzzlersWorld.com

  • Hacker Puzzle
  • Interview Puzzles
  • Number Puzzles
  • Maths Puzzles

Cake Cutting solution: Facebook hacker cup 2013 Round 2

February 10, 2013 by puzzler Leave a Comment

From 2011 facebook is organizing a Facebook hacker cup every year around feb, visit Facebook hacker cup homepage for more details

This question is the first question(Carried 20 marks out of 100) for the Round 2 of 2013 hacker cup.

Problem Statement

“Happy birthday to you… Happy birthday to you… Happy birthday to Grovyle… Happy birthday to you…”

Today is Grovyle’s birthday and he is going to invite his friends to his birthday party. To have an awesome party, each of the attendants should get one piece of cake. Your job is to help Grovyle invite as many friends as you can.

However, Grovyle’s parents are very mean, and make him use the following rules when cutting his cake:

  • There is only ONE cylindrical cake.
  • Grovyle cuts the cake N times, each cut being perpendicular to the surface of the cake.
  • The i-th cut is a broken line with a[i] vertices.
  • The knife is only allowed to intersect the edge of the cylindrical cake at the start and end of the cut.What is the maximum number of pieces Grovyle could get?
    [Read more…]

Checkout more Interview Questions Tags: Easy, Interview, Java, Solved Puzzles

Beautiful Strings solution: Facebook hacker Cup 2013 Qual Round

January 29, 2013 by puzzler Leave a Comment

From 2011 facebook is organizing a Facebook hacker cup every year around feb, visit Facebook hacker cup homepage for more details

This question is the first question in the qualification round of 2013 hacker cup.

When John was a little kid he didn’t have much to do. There was no internet, no Facebook, and no programs to hack on. So he did the only thing he could… he evaluated the beauty of strings in a quest to discover the most beautiful string in the world.

Given a string s, little Johnny defined the beauty of the string as the sum of the beauty of the letters in it.

The beauty of each letter is an integer between 1 and 26, inclusive, and no two letters have the same beauty. Johnny doesn’t care about whether letters are uppercase or lowercase, so that doesn’t affect the beauty of a letter. (Uppercase ‘F’ is exactly as beautiful as lowercase ‘f’, for example.)

You’re a student writing a report on the youth of this famous hacker. You found the string that Johnny considered most beautiful. What is the maximum possible beauty of this string?

[Read more…]

Checkout more Interview Questions Tags: Easy, Interview, Java, Solved Puzzles

How many animals

January 21, 2013 by puzzler 6 Comments

 

how many animals do you see

how many animals do you see

How many animals do you see in above image ?

See AnswerHide Answer
There are a total of 6 animals.

Checkout more Picture Puzzles Tags: Easy, How Many, Puzzle, Solved Puzzles

Triangle angle puzzle

January 21, 2013 by puzzler 3 Comments

 

triangle puzzle

triangle puzzle

What is the missing number in above picture?

See AnswerHide Answer

Answer with Explanation

Answer is 30.
How?
ignore 225, it is to confuse, here we will use the triangles property that the sum of all the angles inside a triangle should be 180 degree.

so 75 + 75 + ? = 180
=> ? = 180 – 150
=> ? = 30

Checkout more Picture Puzzles Tags: Easy, Puzzle, Solved Puzzles, Triangle

Number Puzzle #11

January 20, 2013 by puzzler Leave a Comment

 

 6 3 2 -3 ? 5 ----------  2 6 7

6 3 2
-3 ? 5
———-
2 6 7

See AnswerHide Answer

Answer with Explanation

Answer is 6.
How?
It is the simple subtraction as we used to do in our early maths classes in our childhood, so just reminds us of those days of taking carry and subtracting.

Checkout more Number Puzzles Tags: Easy, Number, Puzzle, Solved Puzzles

Number Puzzle #10

January 20, 2013 by puzzler 1 Comment

 

1  2  3 2  4  6 3  6  ?

1 2 3
2 4 6
3 6 ?

See AnswerHide Answer

Answer with Explanation

Answer is 9.
How?
Here, every element in second row = corresponding column element in first row * 2.
Similarly every element in third row = corresponding column element in first row * 3.

Checkout more Number Puzzles Tags: Easy, Number, Puzzle, Solved Puzzles

Number Puzzle #8

January 20, 2013 by puzzler 2 Comments

 

4 6    2 9    3   1 19 10 7 ?

4
6 2
9 3 1
19 10 7 ?

See AnswerHide Answer

Answer with Explanation

Answer is 6.
How?
Here, Number in a block is sum of the number on the top and right block so 7 = 1 + ?, hence ? should be 6.

Checkout more Number Puzzles Tags: Easy, Number, Puzzle, Solved Puzzles

How many triangles #8

January 20, 2013 by puzzler Leave a Comment

1.) How many triangles do you see this picture ?

how many triangles do you see

how many triangles do you see

Answer with solution

How?
Let’s say the smallest triangle side is 1 cms, then
Number of triangles with side 1cms: 12(3+4+3+2 upward facing) + 12(downward facing)
Number of triangles with side 2cms: 6(3+2+1 upward facing) + 6(downward facing)
Number of triangles with side 3cms: 1(upward facing) + 1(downward facing)

Thus, the total number of triangles in above puzzle are 38.

Checkout more Picture Puzzles Tags: Easy, How Many, Puzzle, Solved Puzzles, Triangle

How many triangles #9

January 20, 2013 by puzzler 2 Comments

1.) How many triangles do you see this picture ?

how many triangles in this triangle

how many triangles in this triangle

Answer with solution

How?
Let’s say the smallest triangle side is 1 cms, then
Number of triangles with side 1cms: 10(1+2+3+4 upward facing) + 6(0+1+2+3 downward facing)
Number of triangles with side 2cms: 6(1+2+3 upward facing) + 1(downward facing)
Number of triangles with side 3cms: 3(upward facing)
Number of triangles with side 4cms: 1(upward facing)

Thus, the total number of triangles in above puzzle are 27.

Checkout more Picture Puzzles Tags: Easy, How Many, Puzzle, Solved Puzzles, Triangle

Number Puzzle #6

January 20, 2013 by puzzler Leave a Comment

 

5 13 8 # 11   11 # 6 ? 3

5 13 8 # 11 11 # 6 ? 3

See AnswerHide Answer

Answer with Explanation

Answer is 9.
How?
Here, every middle element is the sum of the other two so answer should be 6+3 = 9.

Checkout more Number Puzzles Tags: Easy, Number, Puzzle, Solved Puzzles

  • « Previous Page
  • 1
  • …
  • 8
  • 9
  • 10
  • 11
  • 12
  • …
  • 15
  • Next Page »
Submit your Puzzle

You may also like

    Categories

    • Aive hi Puzzles
    • Akbar and Birbal
    • Alphabetical Puzzles
    • Bollywood Puzzles
    • Google Code jam
    • Hindi Riddles
    • Interview Puzzles
    • Interview Questions
    • Logical Puzzles
    • Malayalam Puzzles
    • Maths Puzzles
    • Miscellaneous
    • Number Puzzles
    • Picture Puzzles
    • Riddles
    • Tamil Puzzles
    • Technical

    Social

    • View puzzlersworld’s profile on Twitter
    privacy policy

    Copyright © 2025 · eleven40 Pro Theme on Genesis Framework · WordPress · Log in

    • Hacker Puzzle
    • Logo Puzzles
    • Optical Illusions
    • WhatsApp Puzzles
    • Picture Puzzles
    • Riddles
      ▼
      • Hindi Riddles
    • Bollywood Puzzles
    • Alphabetical Puzzles
    • Aive hi Puzzles
    • Interview Puzzles
    • Logical Puzzles
    • Interview Questions
      ▼
      • Data Structures
      • Binary Tree
      • Algorithms
      • Recursion Questions
      • Amazon Interview Questions
      • Snapdeal Interview Questions
      • Google Code jam
    • Technical
    • Akbar and Birbal
    • Number Puzzles
    • Maths Puzzles
    • Miscellaneous