Skip to content

void-/splay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python splay tree

Splay tree implemented in Python with the following dictionary interface:

  • insert()
  • find()
  • remove()

The tree is encapsulated into a single file with a single class. There are no external dependencies.

Tests

Big, slow, unit testing suites test:

  • interface correctness
  • internal correctness
  • the correctness of the underlying binary tree with splay() mocked out

Tests are probabilistic; multiple runs reduce the chance of false positives.

About

Python splay tree

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages