Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SkipList is broken #176

Open
edward-a opened this issue May 18, 2024 · 2 comments
Open

SkipList is broken #176

edward-a opened this issue May 18, 2024 · 2 comments

Comments

@edward-a
Copy link

It doesn't seem to work. See the code below.

  SkipList<int> sl = new();
  sl.Add(1);
  sl.Add(2);
  sl.Remove(1);
  // Error: sl.Count == 2
Copy link

Thanks for supporting the development of C# Algorithms with your first issue! We look forward to handling it.

@hoowee
Copy link

hoowee commented May 18, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants