Dependencies
Dev Dependencies
- Choose a
Speed
,Size
,Sorting method
and clickRUN
- After that you have 3 controls viz:
Resume
,Play
,Stop
Blue
: NormalGreen
: Base Pointer(s)Violet
: Comparing to (can be thought as other pointer)Grey
: Already sorted ElementsOrange
: While comparing, some element is found swap worthy. Green Orange are usually swapped.Light Orange
: To show left side of merge sort and quick sort.Dark Orange (Reddish Orange)
: To show right side of merge sort and quick sort.
const colors = {
pointer: "#0b6623",
comparing: "#7f00ff",
normal: "#44a6c6",
sorted: "#d0d0d0",
swap: "orange",
swapLeft: "#FF9F00",
swapRight: "#FF4F00"
};
Developed by: Jaspreet Singh(@fearless23)
Check Github Repo for code.
Website on Netlify