PuzzlersWorld.com

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

Google Code jam

Solution for questions asked in Google Code Jam with explanation and java code.

All Puzzles Solved Unsolved

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

Deceitful War Solution – Google Code Jam 2014

April 13, 2014 by puzzler 3 Comments

4th problem in google code jam qualification round 2014

Problem

Naomi and Ken sometimes play games together. Before they play, each of them gets Nidentical-looking blocks of wood with masses between 0.0kg and 1.0kg (exclusive). All of the blocks have different weights. There are lots of games they could play with those blocks, but they usually play something they call War.

[Read more…]

Checkout more Google Code jam Tags: Difficult, Solved Puzzles

Minesweeper Master Solution – Google Code jam 2014

April 12, 2014 by puzzler Leave a Comment

This is the third problem of google code jam qualification round 2014. This problem is based on very famous old game Minesweeper, i am pretty much sure you must have played it, its now time to create the board yourself, such that you know the position to click on, to win the game in just one click.

Problem

Minesweeper is a computer game that became popular in the 1980s, and is still included in some versions of the Microsoft Windows operating system. This problem has a similar idea, but it does not assume you have played Minesweeper.
[Read more…]

Checkout more Google Code jam Tags: Difficult, Solved Puzzles

Cookie Clicker Alpha Solution – Google Code Jam 2014

April 12, 2014 by puzzler 3 Comments

This is 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.
[Read more…]

Checkout more Google Code jam Tags: medium, Solved Puzzles

Magic Trick Solution – Google Code Jam 2014

April 12, 2014 by puzzler 3 Comments

Google Code Jam 2014 has begun, You need to get 25 points to get to the next round, there are 4 problems out of which two problems needs to be solved for sure to get into next round.

This is the first problem and the most simpler one and gives you only 6 points 🙁

Problem

Recently you went to a magic show. You were very impressed by one of the tricks, so you decided to try to figure out the secret behind it!

The magician starts by arranging 16 cards in a square grid: 4 rows of cards, with 4 cards in each row. Each card has a different number from 1 to 16 written on the side that is showing. Next, the magician asks a volunteer to choose a card, and to tell him which row that card is in.
[Read more…]

Checkout more Google Code jam Tags: Easy, Solved Puzzles

Submit your Puzzle

You may also like

  • Minesweeper Master Solution – Google Code jam 2014
  • Cookie Clicker Alpha Solution – Google Code Jam 2014
  • Magic Trick Solution – Google Code Jam 2014
  • Deceitful War Solution – Google Code Jam 2014
  • Charging Chaos Solution – Google CodeJam
  • Full Binary Tree Solution – Google Code Jam

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 © 2023 · 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