Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-03-12 | Hashing with chains done! | Haidong Ji | |
I was tricked by how to create a list of empty list. This line solved the problem: self.elems = [[] for i in range(n)] |
index : DataStructureFundamentalPython | ||
UCSD Data Structures Fundamentals exercises done in Python https://www.edx.org/course/data-structures-fundamentals-uc-san-diegox-algs201x |
summaryrefslogtreecommitdiff |
Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-03-12 | Hashing with chains done! | Haidong Ji | |
I was tricked by how to create a list of empty list. This line solved the problem: self.elems = [[] for i in range(n)] |