We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 027edd0 commit d81b7caCopy full SHA for d81b7ca
src/SkipList.js
@@ -13,6 +13,7 @@ import makeBottomLevel from './makeBottomLevel';
13
/**
14
* @param {Number} p Promotion probability in (0,1).
15
* @param {Function} compare
16
+ * @param {Node} head
17
*/
18
export default function SkipList(p, compare, head = new Node()) {
19
this.head = head; // Sentinel node
0 commit comments