Skip to content

Commit

Permalink
fix: quicksort animation
Browse files Browse the repository at this point in the history
  • Loading branch information
tolstenko committed Feb 16, 2024
1 parent a05429e commit b9b82fd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/algorithms/05-divide-and-conquer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,9 @@ The partitioning process consists of the following steps:
- If the right element is greater than the pivot, decrement the right index;
- If the left element is greater than the pivot and the right element is less than or equal to the pivot, swap the left and right elements;

<iframe scrolling="no" style="position:relative;top:0px;width:100%;height:500px;" src="https://opendsa-server.cs.vt.edu/embed/quicksortAV"></iframe>
<a href="https://opendsa-server.cs.vt.edu/ODSA/Books/CS3/html/QuicksortAV.html">source</a>

![Sorting_quicksort_anim.gif](Sorting_quicksort_anim.gif)

### Quicksort time complexity
Expand Down

0 comments on commit b9b82fd

Please sign in to comment.