Skip to content

Ablablab/pysplay

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PySplay v2

This is a fork of repo : anoopj - pysplay

New Features

  • I added the field data for each node, so every node can carry informations or a pointer.

  • The function furthestNode() returns the lowest leaf of the tree (the node with greatest diameter from root), complexity is O(n). It can be easily improved, but complexity should not change. It uses recursive function heightNode(node) to inspect all nodes.

Bug Reports

You could raise new issues or pull requests for this repo. You should find my email in account details.

About

Python implementation of Splay Trees

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%