Skip to content

sorting animations #6

@brk

Description

@brk

It would be cool to have animations for different sorting algorithms, for small and large n:

  • Insertion sort
  • Conventional quicksort
  • 2-pivot quicksort
  • timsort?
  • merge sort? radix sort? These might be hard to do given our current treatment of memory...

Conveniently, sorting algorithms are bounded in time by O(n^2). So, for example, given a recursive sort algorithm, we can use the recursion depth as one array index, and the "real" sort array index as the other.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions