My work for Princeton's Algorithms 1 course on Coursera