PuzzlersWorld.com

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

Output of the recursive program

May 6, 2014 by puzzler 1 Comment

what will be the output of this program

void print (int n)
{
	if (n>0)
	{
		printf(“hello”);
		print(n-1);
	}
	printf(“world”);
}

[Read more…]

Checkout more Interview Questions Tags: Recursion Questions, Snapdeal Interview Questions, Solved Puzzles

How many toys?

May 1, 2014 by Rajat 3 Comments

Number Puzzle #90

A man had Rs.900 and brought some toys with all the money. Out of which 5 toys were defected. He sold all the remaining toys by increasing the price by Rs.2 and made a profit of Rs.80.
What is the no.of initial toys and the initial cost of toys?

Check your answer, Number of Toys:-

Tried enough already?

Check your answer, Initial Cost:-

Tried enough already?
Click here to See SolutionHide Solution
Let assume he had x toys and bought it for Rs.y per piece.
Now, we can form these two equations from these
x*y = 900;//Total cost
(y+2)(x-5) = 900+80;//as he mad profit of Rs.80 by selling x-5 toys in Rs.(y+2).

xy + 2x -5y -10= 900+80;
2x-5y = 90;
2x-5*900/x = 90
2x^2 -4500 = 90x;
x^2 -45x – 2250 = 0;
(x-75)(x+30) = 0;
x = 75 and x =–30, as number of toys cant be negative, initial number of toys were 75.
Initial Cost = 900/75 = Rs.12.

Checkout more Number Puzzles Tags: Easy, Solved Puzzles

Correct the spellling

April 30, 2014 by Bhawana 7 Comments

We see these 4 things daily

  1. pturecmo
  2. bokeacfo
  3. ihbugtlet
  4. tpsasurl

[Read more…]

Checkout more Alphabetical Puzzles Tags: Correct the spelling, Solved Puzzles

Two Numbers?

April 29, 2014 by puzzler 8 Comments

There is a one person who have two numbers, he tells sum to the person S and product of those numbers to P.

Now there is this conversion between S and P.

S: I don’t know what are the numbers.

P: I also don’t know what are the numbers.

S: Now i know what are the numbers.

P: Now i also know what are the numbers.

Assuming S and P to be very wise and good in mathematics, What are those two numbers?
Note: Numbers are greater than 0.

[Read more…]

Checkout more Interview Puzzles Tags: Solved Puzzles

Full Binary Tree Solution – Google Code Jam

April 27, 2014 by puzzler Leave a Comment

This is the second problem in Google Code Jam 2014, Round 1A

This problem is based on all time favorite of interviewers Binary Tree, you need to find out the minimum number of node to delete to make the given binary tree(in graph form, for any connection in X and Y, you can consider X as child of Y or vice verse) as Full Binary Tree.
[Read more…]

Checkout more Google Code jam Tags: Binary Tree, Data Structures, Google Code Jam 2014, Solved Puzzles

Charging Chaos Solution – Google CodeJam

April 26, 2014 by puzzler 3 Comments

First problem in Google CodeJam 2014, Round 1A

Its about getting the minimum number of switch you need to do to get the desired electric flow.
[Read more…]

Checkout more Google Code jam Tags: Google Code Jam 2014, Solved Puzzles

Value of camel ?

April 26, 2014 by puzzler 12 Comments

whatsapp value of camel puzzle

whatsapp value of camel puzzle

If Value of

Cow + Sheep = 240

Goat + Camel = 500

Camel – Sheep + Goat = 455

Cow + Goat = 215

Then what will be the value of Camel ?

[Read more…]

Checkout more Picture Puzzles Tags: Solved Puzzles, whatsapp puzzles

Guess the Movies

April 23, 2014 by puzzler 3 Comments

Guess the movies from Whatsapp Emooticons, smileys and symbols

Guess the movies - whatsapp puzzle

Guess the movies – whatsapp puzzle

[Read more…]

Checkout more Bollywood Puzzles Tags: Solved Puzzles, WhatsApp Emoticons

Guess the hindi songs

April 21, 2014 by puzzler 3 Comments

Guess the hindi songs from whatsapp emoticons, smileys and ninjas

Guess the hindi songs

Guess the hindi songs

[Read more…]

Checkout more Bollywood Puzzles Tags: Solved Puzzles, WhatsApp Emoticons

3/7 Chicken, 2/3 cat and 1/2 goat

April 21, 2014 by Shyam 1 Comment

What is 3/7 Chicken, 2/3 cat and 1/2 goat?

3/7 chicken, 2/3 cat and 1/2 goat

3/7 chicken, 2/3 cat and 1/2 goat

[Read more…]

Checkout more Picture Puzzles Tags: Solved Puzzles

  • « Previous Page
  • 1
  • …
  • 42
  • 43
  • 44
  • 45
  • 46
  • …
  • 94
  • 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