All Questions
3 questions
1
vote
2
answers
3k
views
Ensuring that attributes referenced by a mixin are present in the children class
I have implemented the below _get_schema method to ensure that schema attribute is always present on the ...
32
votes
5
answers
5k
views
Chess game for my students
I teach programming, and I currently teach my class about inheritance, abstract classes, and mixins.
I wrote this code as an example, and I want to be sure it is as good as possible before I release ...
7
votes
1
answer
241
views
Create six hash tables - 2 hashing schemes x 3 collision handling schemes
I was asked to solve the following task:
Given two methods for hashing (division and multiplication) and three
methods for collision handling (chaining, open addressing w/ quadratic
probing, ...