Programmer PuzzlesProgramming book reviews, programming tutorials,programming news, C#, Ruby, Python,C, C++, PHP, Visual Basic, Computer book reviews, computer history, programming history, joomla, theory, spreadsheets and more.http://i-programmer.info/programmer-puzzles.html
Tue, 20 Mar 2018 02:04:04 +0000Joomla! 1.5 - Open Source Content Managementen-gbJigsaw Puzzles and The MacMahon Squareshttp://i-programmer.info/programmer-puzzles/203-sharpen-your-coding-skills/5722-jigsaw-puzzles-and-the-macmahon-squares.html
http://i-programmer.info/programmer-puzzles/203-sharpen-your-coding-skills/5722-jigsaw-puzzles-and-the-macmahon-squares.htmlAnother puzzle featuring Joe Celko's characterful pair, Melvin Frammis, an experienced developer at International Storm Door & Software, and his junior programmer sidekick, Bugsy Cottman. This classic puzzle looks deceptively simple but can you produce some beautiful code to solve it? UPDATE: Reader Frans Fasse has come up with an Exact Cover Solver in C++.
]]>sue.james@infomaxgroup.co.uk (Joe Celko)Sharpen Your Coding SkillsThu, 08 Feb 2018 00:00:00 +0000Taxicab Geometry Problemshttp://i-programmer.info/programmer-puzzles/203-sharpen-your-coding-skills/6249-taxicab-geometry-.html
http://i-programmer.info/programmer-puzzles/203-sharpen-your-coding-skills/6249-taxicab-geometry-.htmlIn the conference season, developers face the perennial problem of getting from one hotel to another to meet colleagues. How good is your ability to write procedures to find shortest distance in a city block setting. Let's look at how the team at International Storm Door & Software set out the problem of Taxicab Geometry.
]]>sue.james@infomaxgroup.co.uk (Joe Celko)Sharpen Your Coding SkillsThu, 04 Jan 2018 00:00:00 +0000Sharpen your Coding Skills - Elevator Puzzlehttp://i-programmer.info/programmer-puzzles/203-sharpen-your-coding-skills/4561-sharpen-your-coding-skills-elevator-puzzle.html
http://i-programmer.info/programmer-puzzles/203-sharpen-your-coding-skills/4561-sharpen-your-coding-skills-elevator-puzzle.htmlIntroducing Melvin and Bugsy, characters who figure in a series of challlenges from Joe Celko. Sharpen your coding skills with puzzles that will both amuse and torment you.
]]>sue.james@infomaxgroup.co.uk (Joe Celko)Sharpen Your Coding SkillsThu, 30 Nov 2017 00:00:00 +0000The Disaster Team Puzzle http://i-programmer.info/programmer-puzzles/203-sharpen-your-coding-skills/11072-the-disaster-team-puzzle-.html
http://i-programmer.info/programmer-puzzles/203-sharpen-your-coding-skills/11072-the-disaster-team-puzzle-.htmlPut on your thinking cap for another challenge that requires computational thinking. This time Melvin Frammis and his junior partner Bugsy Cottman need to respond to an emergency.
]]>sue.james@infomaxgroup.co.uk (Joe Celko)Sharpen Your Coding SkillsMon, 28 Aug 2017 00:00:00 +0000Self-Descriptive Arrayshttp://i-programmer.info/programmer-puzzles/203-sharpen-your-coding-skills/5120-self-descriptive-arrays.html
http://i-programmer.info/programmer-puzzles/203-sharpen-your-coding-skills/5120-self-descriptive-arrays.htmlPut on your thinking cap for another set of conundrums that will exercise your coding skills. This time Melvin Frammis introduces his junior partner Bugsy Cottman to some classic number puzzles that can be solved with arrays.
]]>sue.james@infomaxgroup.co.uk (Joe Celko)Sharpen Your Coding SkillsThu, 20 Jul 2017 00:00:00 +0000Towers Of Hanoi Mutantshttp://i-programmer.info/programmer-puzzles/203-sharpen-your-coding-skills/4892-towers-of-hanoi-mutants.html
http://i-programmer.info/programmer-puzzles/203-sharpen-your-coding-skills/4892-towers-of-hanoi-mutants.htmlTowers of Hanoi is a classic puzzle and is often used to illustrate the idea of recursion. Here you are challenged to find solutions to some variations, after first explaining the original version.
]]>mike.james@infomaxgroup.co.uk (Joe Celko)Sharpen Your Coding SkillsThu, 20 Apr 2017 00:00:00 +0000Three Warehouses Puzzle http://i-programmer.info/programmer-puzzles/203-sharpen-your-coding-skills/6655-three-warehouses-puzzle-.html
http://i-programmer.info/programmer-puzzles/203-sharpen-your-coding-skills/6655-three-warehouses-puzzle-.htmlTalking through a problem is often a good way to see what is required for its solution. Reducing it in scale is another good strategy. But as programmers at the end of the day we need to code an algorithm that deals with the general case - and that means making the problem bigger.
]]>sue.james@infomaxgroup.co.uk (Joe Celko)Sharpen Your Coding SkillsThu, 28 Nov 2013 00:00:00 +0000Merkles and Social Engineering http://i-programmer.info/programmer-puzzles/203-sharpen-your-coding-skills/6422-merkles-and-social-engineering-.html
http://i-programmer.info/programmer-puzzles/203-sharpen-your-coding-skills/6422-merkles-and-social-engineering-.htmlJoe Celko has come up with a math puzzle based on one of the current political hot topics - but let the team from International Storm Door & Software explain the problem of faced by planners who want to introduce policies to reduce segregation and discrimination.
]]>sue.james@infomaxgroup.co.uk (Joe Celko)Sharpen Your Coding SkillsThu, 26 Sep 2013 17:07:29 +0000Programmer Puzzle - Python Swallows A Globalhttp://i-programmer.info/programmer-puzzles/212-python/6183-programmer-puzzle-python-swallows-a-global.html
http://i-programmer.info/programmer-puzzles/212-python/6183-programmer-puzzle-python-swallows-a-global.htmlHere's a teaser that poses a practical problem - one that crops up in everyday Python programming. See if you can work out the answer before looking at its solution and the pattern to follow to avoid it. The question in this case is where did the global variable go?
]]>mike.james@infomaxgroup.co.uk (Alex Armstrong)PythonFri, 02 Aug 2013 13:38:48 +0000Python Puzzle - Where Did The Time Gohttp://i-programmer.info/programmer-puzzles/212-python/6093-python-puzzle-where-did-the-time-go.html
http://i-programmer.info/programmer-puzzles/212-python/6093-python-puzzle-where-did-the-time-go.htmlA Python programming puzzle to get you up to speed. This one is all about time keeping, or is it? There are some strange things that go on in Python when you aren't paying attention.
]]>mike.james@infomaxgroup.co.uk (Alex Armstrong)PythonSat, 13 Jul 2013 12:24:33 +0000