-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: dim already compared elements in merge sort
Previously, all elements in the left and right subarrays would be highlighted. Now, those elements that have already been passed over will be dimmed.
- Loading branch information
1 parent
a75accb
commit 8ebc0f7
Showing
3 changed files
with
10 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,6 @@ const LEVELS = [ | |
InsertionSort, | ||
SelectionSort, | ||
MergeSort, | ||
QuickSort, | ||
] | ||
var _level: ComparisonSort | ||
|
||
|