Skip to content

adam-azarchs/language_comparison

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Objective

The intent of this repo is to demonstrate what relatively high-quality code to solve a provided, specific problem looks like in various languages.

Statement of problem

Given a set of many x,y points (for example those in test_data/coordinates.csv), find all of the points within radius r of a given centroid or set of centroids. Also, be able to search for the radius r which makes a given percentage of the coordinates fall within r of at least one centroid.

Implementation

The implementation is with a quad tree. The objective is for the algorithm to be as similar across languages as is practical.

About

A simple problem to solve in multiple languages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages