data-structures-and-algorithms/skip-list

View on GitHub
src/Node.js

Summary

Maintainability
A
35 mins
Test Coverage
export default function Node(
    key = undefined,
    down = null,
    left = null,
    right = null,
    up = null,
) {
    this.key = key;
    this.right = right;
    this.down = down;
    this.left = left;
    this.up = up;
}