hendychua / hackerrank_puzzles

Codes to solve hacker rank's puzzles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hackerrank_puzzles

Codes to solve hacker rank's puzzles

Check out https://www.hackerrank.com/

How To Use:

2 options: (1) By command line input or (2) run from textfile

python decode.py or

What does it mean by running from input? It means you have to enter the encoded clue, clue and encoded answer and the program will feed you the decoded answer. After which, the program will exit.

What does it mean by running from textfile? It means all the clues, encoded answers have been stored in the textfile called answers.txt. Run the program and all the answers for all the questions will be printed out at one go. As of 06 July 2012, i have only 3 questions in it. I'm in the midst of adding more.

UPDATES

As of 8th July 2012, I've changed to using circular linkedlist for decrypting question 1 to 4. Its a good practice :) The circular linkedlist is pretty generic too. You can just use it for your own. Let me know if you find any bugs!

About

Codes to solve hacker rank's puzzles


Languages

Language:Python 100.0%