From 420915fa0ddff92b6be4922f540c651136f9f6a6 Mon Sep 17 00:00:00 2001 From: enqidu Date: Tue, 7 Jul 2020 14:48:30 +0400 Subject: [PATCH] skip_list --- data_structures/skip_list.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/data_structures/skip_list.cpp b/data_structures/skip_list.cpp index 723958866..550a5c9d3 100644 --- a/data_structures/skip_list.cpp +++ b/data_structures/skip_list.cpp @@ -9,6 +9,8 @@ #include #include #include +#include +#include // using namespace std; using std::vector; using std::endl; @@ -58,6 +60,8 @@ SkipList::SkipList() { header = new Node(-1, MAXLVL, NULL); } + + /** * Returns random level for skip list; @@ -187,4 +191,6 @@ int main() lst.displayList(); + + }