Your SlideShare is downloading. ×
0
Art of Puzzle Solving
Art of Puzzle Solving
Art of Puzzle Solving
Art of Puzzle Solving
Art of Puzzle Solving
Art of Puzzle Solving
Art of Puzzle Solving
Art of Puzzle Solving
Art of Puzzle Solving
Art of Puzzle Solving
Art of Puzzle Solving
Art of Puzzle Solving
Art of Puzzle Solving
Art of Puzzle Solving
Art of Puzzle Solving
Art of Puzzle Solving
Art of Puzzle Solving
Art of Puzzle Solving
Art of Puzzle Solving
Art of Puzzle Solving
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Art of Puzzle Solving

10,741

Published on

A framework to solve puzzles and 10 popular puzzles from CSE Blog (http://www.pratikpoddarcse.blogspot.com) …

A framework to solve puzzles and 10 popular puzzles from CSE Blog (http://www.pratikpoddarcse.blogspot.com)

Published in: Technology
0 Comments
4 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
10,741
On Slideshare
0
From Embeds
0
Number of Embeds
72
Actions
Shares
0
Downloads
77
Comments
0
Likes
4
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. ART OF PUZZLE SOLVINGA framework to solve puzzles and 10 popular puzzles from CSEBlog (http://www.pratikpoddarcse.blogspot.com)
  • 2. What is Puzzle Solving? "Solving math Puzzles" really reflects "Training of the Mind". Its not about smartness or intelligence or IQ. Its really about howwell you have trained your mind to solve problems.CSE Blog - http://www.pratikpoddarcse.blogspot.com May 16, 20132
  • 3. How to train your mind? When you see a puzzle, questions you need to ask yourself:o Of course you begin with: How to solve the problem?o Once you have solved the problem or seen the solution, you needto ask What are the ways I could have solved this problem?.o Sanity check and intuitive thinking helps more than you wouldimagine. You need to ask Is there a way to check that my solutionis correct intuitively?o If you are not able to solve the problem, its fine! Read thesolution carefully. Then ask, What concept did I learn?o and Which are the other situations in which this concept can beapplied?CSE Blog - http://www.pratikpoddarcse.blogspot.com May 16, 20133
  • 4. Types of Math Puzzles Most math puzzles are from the following topics:1) Casual Puzzles2) Combinatorics / Probability3) Algorithms4) Engineering Mathematics5) Coding (C/C++)CSE Blog - http://www.pratikpoddarcse.blogspot.com May 16, 20134
  • 5. How to prepare? – books by topic(1/3)How to prepare:1) Casual PuzzlesMathematical Puzzles: A Connoisseurs Collection - by Peter WinklerEntertaining Mathematical Puzzles - by Martin GardnerMathematical Puzzles of Sam Loyd2) Combinatorics / ProbabilityProbability, Random Variables And Stochastic Processes - byPapoulisFifty Challenging Problems in Probability with SolutionsCSE Blog - http://www.pratikpoddarcse.blogspot.com May 16, 20135
  • 6. How to prepare? – books by topic(2/3)How to prepare:3) AlgorithmsIntroduction To Algorithms - by Cormen, Lieserson, RivestAlgorithms - by Robert Sedgewick4) Engineering MathematicsAdvanced Engineering Mathematics - by KreyszigLinear Algebra And Its Applications - by Gilbert StrangWhat Is Mathematics? - by Richard CourantCSE Blog - http://www.pratikpoddarcse.blogspot.com May 16, 20136
  • 7. How to prepare? – books by topic(3/3)How to prepare:5) Coding (C/C++)C++: The Complete ReferenceThe C++ Programming Language - by StroustrupProgramming in C++ - by Cohoon and DavidsonCSE Blog - http://www.pratikpoddarcse.blogspot.com May 16, 20137
  • 8. How to prepare? – some puzzle blogs(1/2)CSE BlogGurmeet Singh Mankus BlogCMU - The Puzzle ToadIBM Ponder ThisWilliam Wus CollectionC Puzzles by Gowri KumarRustan Lieno CollectionCotpiA Puzzle BlogMe, Myself and MathematicsCSE Blog - http://www.pratikpoddarcse.blogspot.com May 16, 20138
  • 9. How to prepare? – some puzzle blogs(2/2)A WandererNickss Mathematical PuzzlesGowerss BlogTanya Khovanova’s Math Blogin theoryThe Math Less TravelledWild About Math!Terry TaoA Computer Scientist in a Business SchoolCombinatorics and moreA Neighbourhood of InfinityCSE Blog - http://www.pratikpoddarcse.blogspot.com May 16, 20139
  • 10. 10 Puzzle Collection – Puzzle 1Problem 1: Conway’s Soldiers (CheckerBoard Unreachable Line)Original Link: http://pratikpoddarcse.blogspot.com/2010/08/conways-soldiers-checkerboard.htmlSource:Asked to me by Amol Sahasrabudhe (Morgan Stanley)Problem:An infinite checkerboard is divided by a horizontal line that extends indefinitely. Abovethe line are empty cells and below the line are an arbitrary number of game pieces, or"soldiers". A move consists of one soldier jumping over an adjacent soldier into an emptycell, vertically or horizontally (but not diagonally), and removing the soldier which wasjumped over. The goal of the puzzle is to place a soldier as far above the horizontal lineas possible.Prove that there is no finite series of moves that will allow a soldier to advance more thanfour rows above the horizontal line.CSE Blog - http://www.pratikpoddarcse.blogspot.com May 16, 201310
  • 11. 10 Puzzle Collection – Puzzle 2Problem 2: Determinant of Binary MatrixOriginal Link: http://pratikpoddarcse.blogspot.com/2013/01/determinant-of-binary-matrix.htmlSource:Introduced to me by Sudeep Kamath (PhD Student, UC at Berkeley, EE IITB Alumnus 2008)Problem:An N by N matrix M has entries in {0,1} such that all the 1s in a row appear consecutively.Show that determinant of M is -1 or 0 or 1.CSE Blog - http://www.pratikpoddarcse.blogspot.com May 16, 201311
  • 12. 10 Puzzle Collection – Puzzle 3Problem 3: Hats in a CircleOriginal Link: http://pratikpoddarcse.blogspot.com/2010/01/hats-in-circle.htmlSource:Puzzle Toad, CMUProblem:Each hat is black or white. The people are standing in a circle. Now our n hat wearingfriends are standing in a circle and so everyone can see everybody elses hat. The hatshave been assigned randomly and each allocation of hat colors is equally likely. At acertain moment in time each person must simultaneously shout "my hat is black or "my hatis white or "I havent a clue. The team wins a big prize if at least one person gets thecolor of his hat right and no one gets it wrong (saying "I havent a clue is not getting itwrong). Of course, if anyone gets it wrong, the whole team is eliminated and this is painful.The prize is big enough to risk the pain and so devise a strategy which gives a goodchance of success.CSE Blog - http://www.pratikpoddarcse.blogspot.com May 16, 201312
  • 13. 10 Puzzle Collection – Puzzle 4Problem 4: Correct LettersOriginal Link: http://pratikpoddarcse.blogspot.com/2010/01/correct-letters.htmlSource:Tutorial of Prof. Sundars course "Approximation Algorithms"Problem:There are n letters and n envelopes. Your servant puts the letters randomly in theenvelopes so that each letter is in one envelope and all envelopes have exactly one letter.(Effectively a random permutation of n numbers chosen uniformly). Calculate the expectednumber of envelopes with correct letter inside them.CSE Blog - http://www.pratikpoddarcse.blogspot.com May 16, 201313
  • 14. 10 Puzzle Collection – Puzzle 5Problem 5: Don’t roll moreOriginal Link: http://pratikpoddarcse.blogspot.com/2010/01/dont-roll-more.htmlSource:Taken from the book "Heard on The Street" (Problem 4.2 in Revised 9th Edition) by TimothyFalcon CrackProblem:I will roll a single die not more than three times. You can stop me immediately after thefirst roll, or immediately after the second, or you can wait for the third. I will pay you thesame number of dollars as there are dots on the single upturned face on my last roll (rollnumber three unless you stop me sooner). What is your playing strategy?CSE Blog - http://www.pratikpoddarcse.blogspot.com May 16, 201314
  • 15. 10 Puzzle Collection – Puzzle 6Problem 6: Lion in a Circular Cage PuzzleOriginal Link: http://pratikpoddarcse.blogspot.com/2012/02/lion-in-circular-cage-puzzle.htmlSource:Asked to me by Pramod Ganapathi (PhD Student at Stony Brook University)Problem:A lion and a lion tamer are enclosed within a circular cage. If they move at the samespeed but are both restricted by the cage, can the lion catch the lion tamer? (Represent thecage by a circle, and the lion and lion tamer as two point masses within it.)CSE Blog - http://www.pratikpoddarcse.blogspot.com May 16, 201315
  • 16. 10 Puzzle Collection – Puzzle 7Problem 7: Consecutive HeadsOriginal Link: http://pratikpoddarcse.blogspot.com/2009/10/lets-say-keep-tossing-fair-coin-until.htmlProblem:Lets say A keep tossing a fair coin, until he get 2 consecutive heads, define X to be thenumber of tosses for this process; B keep tossing another fair coin, until he get 3consecutive heads, define Y to be the number of the tosses for this process.1) Calculate P{X>Y}2) Whats the expected value of X3) Whats the expected value of YCSE Blog - http://www.pratikpoddarcse.blogspot.com May 16, 201316
  • 17. 10 Puzzle Collection – Puzzle 8Problem 8: Coins PuzzleOriginal Link: http://pratikpoddarcse.blogspot.com/2009/10/coins-puzzle.htmlProblem:There are 100 coins on the table out of which 50 are tail-face up and 50 are head faceup. You are blind folded and there is no way to determine which side is up by rubbing,etc. You have to divide the 100 coins in two equal halves such that both have equalnumber of coins with tails face up. (This obviously implies that the two have equal numberof coins with heads face up)Second part: There are 100 coins on the table out of which 10 are tail-face up and 90are head face up. You are blind folded and there is no way to determine which side is upby rubbing, etc. You have to divide the 100 coins in two halves (not necessarily equal) suchthat both have equal number of coins with tails face up.CSE Blog - http://www.pratikpoddarcse.blogspot.com May 16, 201317
  • 18. 10 Puzzle Collection – Puzzle 9Problem 9: Arithmetic Puzzle: Broken CalculatorOriginal Link: http://pratikpoddarcse.blogspot.com/2012/07/arithmetic-puzzle-broken-calculator.htmlSource:Quantnet ForumProblem:There is a calculator in which all digits(0-9) and the basic arithmetic operators(+,-,*,/) aredisabled. However other scientific functions are operational like exp, log, sin, cos, arctan,etc. The calculator currently displays a 0. Convert this first to 2 and then to 3.CSE Blog - http://www.pratikpoddarcse.blogspot.com May 16, 201318
  • 19. 10 Puzzle Collection – Puzzle 10Problem 10: Number of Locks and KeysOriginal Link: http://pratikpoddarcse.blogspot.com/2009/12/number-of-locks-and-keys.htmlSource:Shamirs paper on Secret Sharing Scheme states this problem and gives the answer withthe explanation that its written in standard Combinatorics booksProblem:7 thieves wanted to lock the treasure looted from a ship. They wanted to put locks to thetreasure where each lock had multiple keys. Find the minimum number of locks N andminimum no. of keys K with every thief subject to the following conditions:-All the locks should open each time a majority of thieves(4 or more) try to open the locks.At least one lock remains unopened if less than 4 thieves try opening them.All locks should have same no. of keys.All thieves must have same no. of keys with them.CSE Blog - http://www.pratikpoddarcse.blogspot.com May 16, 201319
  • 20. Thanks Please visit CSE Blog( http://pratikpoddarcse.blogspot.com ) for more puzzles Author: Pratik PoddarEmail: pratikpoddar05051989@gmail.comLinkedin Profile: http://linkedin.com/in/pratikpoddarWebsite: http://www.pratikpoddar.wordpress.comCSE Blog - http://www.pratikpoddarcse.blogspot.com May 16, 201320

×