PuzzlersWorld.com

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

Whats is the name of the fifth daughter ?

March 7, 2013 by puzzler 2 Comments

 

picture puzzle

Jd’s father has 5 daughters
1. Janu
2. Jenu
3. Jinu
4. Jonu
5. ?? Whats is the name of the 5th daughter ?

See AnswerHide Answer

Answer is Junu

How?
Jd’s father is keeping the names by changing the second alphabet by vowels, so from a,e,i,o,u, its u’s turn now 🙂

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

How to add new Region/State in Magento

March 2, 2013 by puzzler 4 Comments

Magento by default has states only for few selected countries and you might want to include your country’s states in your site for various purpose, to give a select option in state on checkout page, to configure some rules etc.

There is no direct UI available as of now but otherwise also it is quite simple to upload this information using a CSV file and phpmyadmin. you need two to create two csv files

Step 1: directory_country_region.csv => this should include four colums region_id, country_id(in ISO-2), region code, region name.
region_id is nothing but auto incrmented id directory_country_region table, so fill this column with incremented numbers(greater then current auto_increment number)
country_id > ISO-2 code, ex. US, UK, IN
region_code => You can fill iso-2 codes for states(find it using google)
region_name => default name for the state

Step 2: directory_country_regions_name.csv => this should include 3 columns locale, region_id and region_name

locale => ex. en_us etc.
take region_id from previous file and change the default name to the locale.
It is not compulsory to fill this table, you can skip it, unless you want to support multiple locale.

I have created sample files for Indian states, directory_country_region_IN.csv and directory_country_regions_name_IN.csv
[Read more…]

Checkout more Technical Tags: Magento

Number Puzzle #17

March 1, 2013 by puzzler 1 Comment

 

Find the missing section

Find the missing section

See AnswerHide Answer

Answer is C

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

Number Puzzle #16

February 27, 2013 by puzzler Leave a Comment

 

IF 11 = 20 12 = 31 13 = 42 14 = 53 Then 18 = ?

IF 11 = 20
12 = 31
13 = 42
14 = 53
Then 18 = ?

See AnswerHide Answer

Answer with Explanation

Answer is 97.
How?
11 => (1+1)(1-1) => 20
12 => (2+1)(2-1) => 31
13 => (3+1)(3-1) => 42
14 => (4+1)(4-1) => 53
similarly
18 => (8+1)(8-1) => 97

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

Guess the Song #4

February 24, 2013 by puzzler 1 Comment

Guess the song from the symbols in the image below:-

guess the song from symbols

guess the song from symbols

See AnswerHide Song
Rang bhare badal se, tere naino ke kajal se,
Maine is dil pe likh diya tera naam,
Chaand-knee, Oh meri Chaand-knee..

Feels like listening it ?

Checkout more Picture Puzzles Tags: Easy, Guess the Songs, Solved Puzzles

How many squares #5

February 18, 2013 by puzzler Leave a Comment

how many squares are there in this image?

how many squares are there in this image

how many squares are there in this image

See AnswerHide Answer

There are a total of 79 squares.

How?
Lets assume smallest square side length is 0.5 cms, then
Number of squares with side 0.5 cms: 30
Number of squares with side 1 cms: 16+11
Number of squares with side 1.5 cms: 2 + 3 + 2
Number of squares with side 2 cms: 9 + 1
Number of squares with side 2.5 cms: 0
Number of squares with side 3 cms: 4
Number of squares with side 3.5 cms: 0
Number of squares with side 4 cms: 1
————————————
Thus total number of squares are: 79

Checkout more Picture Puzzles Tags: How Many, How Many Squares, medium, Solved Puzzles

Permutations solution: Facebook hacker cup 2013 Round 2

February 17, 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 third question(Carried 45 marks out of 100) for the Round 2 of 2013 hacker cup. only top 100 contestants will be moved to Round 3.

Problem Statement

In this problem you need to count number of possible permutations p of the first N integers, given N-1 constraints of the form pi < pj.

Input

The first line contains an integer T, T ≤ 20, followed by T test cases. Each test case begins with an integer N, N ≤ 1000, which is the number of integers in the permutation. The next N – 1 lines each contain a single constraint in the following format: “i sign j“, where 0 ≤ i, j ≤ N – 1 and sign is either “<” or “>“, which denotes whether the i-th element of the permutation should be less than or greater than the j-th element.

It is guaranteed that it is not possible to partition indices into two disjoint sets A and B such that there is no constraint involving elements from both A and B.
[Read more…]

Checkout more Interview Questions Tags: Algorithm, Facebook Hacker Cup, Interview, Java, Solved Puzzles, Very Difficult

RoboElection solution: Facebook hacker cup 2013 Round 2

February 16, 2013 by puzzler 1 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 second question(Carried 35 marks out of 100) for the Round 2 of 2013 hacker cup. only top 100 contestants will be moved to Round 3.

Problem Statement

In the not so distant future the world is populated by robots and ruled by an evil robot emperor. Every robot in the world can be identified by a unique numeric ID, and the list of all the existing robot IDs is easily accessible to everyone. One day the emperor decided to call for a general election to preserve an illusion of democracy. He set it up in the following way:

  • – Every robot can cast at most one vote per round of voting and the votes are anonymous.
  • – The only option on the ballot is the vote for reelection of the emperor.
  • – If at least P percent of the population cast votes for the emperor he becomes reelected for the next millennium.
  • – Otherwise the emperor declares the vote void, disassembles K robots with the lowest ID numbers (who he finds to be the most rebellious), and then if there are any functional robots left he restarts the whole process.

All the robots are perfectly logical but also rather lazy and prone to procrastination. That’s why after figuring out the plan of the emperor, they will abstain from voting unless they have to vote to survive the election (including this round and all later rounds). If they will die whether or not they vote, they will vote in the hope that the emperor will spare them. (He won’t, because he’s evil!).

Problem

Given N – the initial population size, K – the number of robots disassembled after an unsuccessful vote and P – the required percentage of votes.

Compute the number of times the vote will take place.
[Read more…]

Checkout more Interview Questions Tags: Difficult, Interview, Java, Solved 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

Dead Pixels solution: Facebook hacker cup 2013 Round 1

February 8, 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 third question(Carried 45 marks out of 100) for the Round 1 of 2013 hacker cup. only top 500 contestants will be moved to Round 2.

Problem Statement

John’s friend Peter purchases a new high resolution monitor with dimension W * H where W is the number of pixels in each row (i.e. width) and H is the number of pixels in each column (i.e. height).

However, there are N dead pixels on the monitor. The i-th dead pixel is located at (x[i], y[i]). (0, 0) is the top-left pixel and (W – 1, H – 1) is the bottom-right pixel. The locations of the dead pixels could be generated by 6 given integers X, Y, a, b, c and d by the following rules. If 2 pixels are at the same location, they are considered the same. It is possible that there are less than N distinct dead pixels.

  • x[0] = X
  • y[0] = Y
  • x[i] = (x[i – 1] * a + y[i – 1] * b + 1) % W (for 0 < i < N)
  • y[i] = (x[i – 1] * c + y[i – 1] * d + 1) % H (for 0 < i < N)

Peter connects his monitor to his computer and opens an image with dimension P (width) * Q (height). How many unique positions can the image be placed so that it can be displayed perfectly (i.e. all pixels of the picture are shown on the monitor)? The image cannot be rotated.
[Read more…]

Checkout more Interview Questions Tags: Algorithm, Difficult, Facebook Hacker Cup, Interview, Java, Solved Puzzles

  • « Previous Page
  • 1
  • …
  • 63
  • 64
  • 65
  • 66
  • 67
  • …
  • 71
  • 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