/puzzles

Gotta stay sharp.

Primary LanguagePythonMIT LicenseMIT

Puzzles! (by @robdimarco)

Welcome to my casual corner of GitHub! This repo houses all of the puzzle solutions that I've written over the years, and continues to be updated as free time permits. There's some embarassing old code lurking around, but I think all programmers feel that way about what they wrote years ago, right?

Puzzle Sources

Solution Log

Embed.ly Challenge
1. Math 2012-04-27 Python
2. HTML 2012-04-27 Python
3. Zipf's law 2012-04-27 Python
Facebook Careers
Battleship 2009-06-29 Java
Breathalyzer 2009-08-21 Java
Refrigerator Madness 2009-07-05 Python
Dino Island 2009-08-01 Java
Gattaca 2009-09-02 C
Hoppity 2009-04-11 C
Liar Liar 2009-08-21 Java
Meep Meep 2009-04-11 Java/C
Peak Traffic 2009-06-26 Java
Simon Says 2009-06-27 Java
Small World 2009-10-06 C
Find Sophie 2009-10-18 Java
We Are The Swarm 2009-06-10 Java
User Bin Crash 2009-06-06 Java/C
Facebook Hacker Cup 2013
Balanced Smileys 2013-01-26 Python
Beautiful Strings 2013-01-26 Python
Card Game 2013-02-02 Python
Google Code Jam 2012
Dancing with the Googlers 2012-04-16 PHP
Equal Sums 2012-05-05 Python
Password Problem 2012-04-29 Python
Perfect Game 2012-07-11 Python
Recycled Numbers 2012-04-16 C
Safety in Numbers 2012-05-06 Python
Speaking in Tongues 2012-04-16 PHP
Greplin Challenge
Level 1 2012-05-05 Python
Level 2 2012-05-05 Python
Level 3 2012-05-05 Python
Spotify Code Quest 2012
Collapse 2012-07-26 Ruby
Troll Hunt 2012-07-24 Ruby
Spotify Puzzles
Best Before 2012-07-02 Ruby
Ticket Lottery 2012-07-06 Ruby
Stripe Capture the Flag 2.0 (Web Edition)
Level 0 2012-08-22 SQL
Level 1 2012-08-22 PHP / URL
Level 2 2012-08-22 PHP
Level 3 2012-08-22 SQL
Level 4 2012-08-22 JavaScript
Level 5 2012-08-23 PHP / URL
Level 6 2012-08-24 JavaScript
Level 7 2012-08-26 Python
Level 8 2012-08-26 Python

License (MIT)

Copyright (c) 2012 Rob DiMarco, http://robdimarco.com/

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.