summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-02-17Build heap done!Haidong Ji
Not too bad, since the Java version has been worked out.
2019-01-29Network Packet done!Haidong Ji
It's not too bad, since I worked things out in Java first. 2 things are of note: 1. Java Deque's pop is Python Deque's popleft. 2. I didn't use an iterator to remove items. It seemed to work fine.
2019-01-10Tree height done!Haidong Ji
Fun exercise. Interesting to experience the mentality change of creating classes in Python, after first creating it in Java. I removed the parent property in Python class since it's not used. Object aliasing caused a bug that took me a bit to figure out.
2019-01-02Check bracket done!Haidong Ji
Strict TDD is not possible, at least the type I'm used to through Eclipse PyDev, where I write tests first, and rely on PyDev to generate files/function stubs. Bummer, but I decided to stick with PyCharm just to learn it.