Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FTree & QuickSort

Two data structures we built for a uni project.

FTree is a B-Tree with the usual stuff: insert, search, floor, ceiling, rank, select, range queries. Has a small CLI client so you can poke around with it interactively.

QuickSort has a few flavors: randomized pivot, median-of-three, and a quickSelect for grabbing the k-th smallest element without sorting the whole array. Falls back to insertion sort for small subarrays.

Everything uses generics so it works with any Comparable type.

Requirements

Java 8 or higher. That's it.

How to run

javac FTree.java FTreeClient.java
java FTreeClient

Once it's running, type help to see all available commands.

Authors: Daniel Pantyukhov & Valen


About

Java Btree implementation with a custom QSort alghoritm

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages