Skip to content

Instantly share code, notes, and snippets.

@imxdn
imxdn / merge_sort.py
Created February 17, 2016 09:47
Running time comparison of Merge Sort with two different approaches
from time import time
from random import randint
# Self made implementation of merge sort
def merge(A,B):
'''
Merge sort merging procedure.
Takes two sorted subarrays and merges them to create a new sorted
array which is returned
@imxdn
imxdn / app.py
Last active December 8, 2015 14:01
A script to fetch details of books in a range from Goodreads.
'''
A script to fetch details of books in a range from Goodreads
For educational purpose ONLY.
Storing data for more than 24 hours or an attempt to archive Goodreads Data is a violation of Developer Terms of Service. You have been warned.
'''
from goodreads import client
import codecs
import time
from datetime import datetime