-
Using Python 3.5.2
If you miss any module, run
$ sudo python3 -m pip install module_name
In python, default recursion depth limit is 999, you can change it using
import sys
sys.setrecursionlimit(1000000) to set the limit to one million
In python, here is a build in function for permutations and combinations
from itertools import permutations as pm
from itertools import combinations as cm
print(list(pm([1,2,3,4],2)))
print(list(cm([1,2,3,4],2)))
-
Lectures
Lecture1
Lecture2
Lecture3
Lecture4
Lecture5
Lecture6
Lecture7
Lecture8
Lecture9
Lecture10
-
Labs
Lab1
Lab2
Lab3
Lab4
Lab5
Lab6
Lab7
-
Quizzes
quiz1
quiz2
quiz3
quiz4
-
Assignments
assignment1
assignment2
assignment3
Yufei Zhang
Eric Martin