This file contains hidden or 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
| // ==UserScript== | |
| // @name MinHeap++ | |
| // @version 1 | |
| // @description This script adds "Insert Keys" and "Remove K Smallest" functionality to the usfca Heap visualizer. | |
| // @author Peter Zhang | |
| // @match https://www.cs.usfca.edu/~galles/visualization/Heap.html | |
| // @grant none | |
| // ==/UserScript== | |
| //copy everything inside of the setup function below if you want to just paste the code in the console | |
| function setup(){ |
This file contains hidden or 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
| // ==UserScript== | |
| // @name BinomialQueue++ | |
| // @version 1 | |
| // @description This script adds "Insert Keys" and "Remove K Smallest" functionality to the usfca Binomial Queue visualizer. | |
| // @author Peter Zhang | |
| // @match https://www.cs.usfca.edu/~galles/visualization/BinomialQueue.html | |
| // @grant none | |
| // ==/UserScript== | |
| //copy everything inside of the setup function below if you want to just paste the code in the console | |
| function setup(){ |
This file contains hidden or 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
| // ==UserScript== | |
| // @name RedBlackTree++ | |
| // @version 1 | |
| // @description This script adds "Insert Keys" and "Remove Keys" functionality to the usfca RBTree visualizer. | |
| // @author Peter Zhang | |
| // @match https://www.cs.usfca.edu/~galles/visualization/RedBlack.html | |
| // @grant none | |
| // ==/UserScript== | |
| //copy everything inside of the setup function below if you want to just paste the code in the console | |
| function setup(){ |
NewerOlder