Hello everyone! Welcome to Paris, I hope you'll have a fantastic term here.
Reference: (Cormen et al., 2022, Chapters 1, 2, 3, 4)
Reference: (Cormen et al., 2022, Chapters 7, 8, 9)
Reference: (Cormen et al., 2022, Chapters 14, 15, 16)
Reference: (Cormen et al., 2022, Chapters 22, 23, 24, 25)
During lectures, you'll be able to edit and run code cells directly from the browser (kind of like in Jupyter). When editing the code, you can press Shift+Enter
to run it or click the icon on the left.
Go to Chapter 1.
Insertion sort is the algorithm you use when you play cards
Send me a Jupyter file by email (nguyen.khoi@nyu.edu) with the following exercises solved.
Send me a Jupyter file by email (nguyen.khoi@nyu.edu) with the following exercises solved.
karatsuba([1, 3], [1, 2]) # returns [1, 5, 6]
power([1, 3, 4, 2], 2) # return 1342**2
karatsuba([1, 3], [1, 2]) # returns [1, 5, 6]
power([1, 3, 4, 2], 2) # return 1342**2