Skip to content

reostat/zipmerge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Three implementations of interval range merge

Written as an exercise for coding challenge.

Implementations

  • List-based merge: O(n*log n) complexity, O(n) memory
  • Tree-based merge: O(n) complexity, O(n) memory
  • Parallel tree-based merge: O(n) complexity, O(n) memory

Caveat: some consider big-O notation deceiving.

How to run

This is a standard Maven project, use mvn test.

There's also a profile for code coverage; run mvn test -Pcoverage. Results will be in target/site/jacoco/index.html.

About

A couple of range merge algorithms

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages