Eric Huber
Eric Huber
Suggested fix: Could perhaps replace "kth smallest" with "kth ordinal/in order", or just make a note that it's the kth smallest item if the items are distinct, and to keep...
The CS 440 (AI) course at UIUC sometimes assigns a programming project similar to this one. Prof. Erickson's courses are usually strictly theory.
In the inner loop, we're considering whether it's legal to place a queen at the row, column coordinates `(r, j)`. Also, we're referring to a queen placed in some previous...
If you are standing at the square `(r,j)` and you move diagonally up and to the right by only one diagonal distance, that means you are moving up one row...
The footnote is completed on the following page. Sometimes footnotes do that. The layout has printing in mind.
+1, and I remember a rule of thumb from German class that the last word in a compound is what determines the gender.
[Edit 2: Oops, F is indeed defined as a spanning forest of the entire graph from the beginning in the algorithm. My objection here is misguided in light of that.]...
Had to edit my comment above for correctness, as noted. *waves to email folks*
So, now I see your point that here F _does_ include all vertices from the beginning as a forest, and the word "some" could indeed seem misleading if it suggests...
Thanks for the PR--this is a good idea. Note that if you use Repl.it for the examples, the run button may not work if you just set the run button...