Jump to content
IGNORED

16 Sorts - Disparity Loop


w1k

Recommended Posts

 

In this visualization, the distance of each vertex from the center is determined by how correct of a position that number is in. For example, if the number 1 is in the middle of the array, it will produce a very short line, as it is supposed to be the first element in the array. However, if the number 1 is near the beginning or end of the array, it will produce a much longer line. This means that, when fully sorted, every vertex will be at its max distance, and a loop will be produced.

  • Like 5
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...