Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Genious Algorithm: Factorial Tree Sort

Name: Anonymous 2011-06-02 2:57


 Factorial Tree Sort reads an array of integers and randomly arranges the order of those integers. It then checks to see if the array is sorted, if the array is sorted, Factorial Tree Sort has done its job. If the array is not sorted

(Post truncated.)

Name: Anonymous 2011-06-02 8:38

>>35
It prevents the mistake from occurring. I can reuse the name of a global variable unknowingly and the program will still work as expected.

If I wasn't forced to explicitly state I was using the global variable, I could unintentionally modify a global variable, which could lead to bugs that are difficult to trace.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List