7 ms·
> Are they able to handle cyclical family trees Heh, this reminds me of an assignment in a Finnish university. A second-year programming course requires to bui
by bostik 12y ago
> Are they able to handle cyclical family trees
Heh, this reminds me of an assignment in a Finnish university. A second-year programming course requires to build a family tree parser with the appropriate data structure design.
The tests are automated: students upload their sources through a web form, the backend builds the code and feeds it a number of test cases. The trick is that the inputs are not provided ahead of time. Once a test set fails, the student is provided with the input(s) that broke their submission. A student can submit their code at most four times, and a failure to pass the tests also means a failed course.
One of the inputs is the family tree of the Egyptian Pharaohs.