This commit is contained in:
e2hang
2025-07-30 14:10:58 +08:00
parent eccb13de21
commit c77f685f1f
4 changed files with 170 additions and 0 deletions

14
List/skipList/main.cpp Normal file
View File

@@ -0,0 +1,14 @@
#include <iostream>
#include "skipList.h"
using namespace std;
int main() {
skipList<int, string> a(100, 2, 0.5);
pair<int, string>* p = new pair<int, string>[50];
p[0] = pair<int, string>(1, "Test");
p[1] = pair<int, string>(2, "For");
a.insert(p[0]);
a.insert(p[1]);
a.showLv0List();
return 0;
}