Author: Maxwell Leu aka CmdIglo
This Repo is about the Python challenges on hackerrank.com . You will find the source code for the solutions to the problems I solved.
The source code is mine but can be used for everybody. Just note, that the code I provide may not always be the most efficient way to solve a problem, but if you understand the code, it will be very helpful for you, to solve the challenges by yourself.
Note: I will not upload the source code for every problem's solution. Also I like to write my solutions in following format: def main(): ...
if name == "main": main()
where "main()" is the function where all the magic happens and "if name == "main"" is the beginning of the actual executable code.
Links to the challenges:
Merge the tools! (Medium): https://www.hackerrank.com/challenges/merge-the-tools/problem
Compress the string! (Medium): https://www.hackerrank.com/challenges/compress-the-string/problem
Nested Lists (Easy): https://www.hackerrank.com/challenges/nested-list/problem
Word Order (Medium): https://www.hackerrank.com/challenges/word-order/problem
Check Subset (Easy): https://www.hackerrank.com/challenges/py-check-subset/problem