williamfiset / algorithms Goto Github PK
View Code? Open in Web Editor NEWA collection of algorithms and data structures
License: MIT License
A collection of algorithms and data structures
License: MIT License
There's a faster way than the DP approach to solve the LIS problem. It can be solved in O(nlogn) time with a binary search, let's add it to the repo.
Matrix chain multiplication can be solved efficiently with DP
Add algorithm to find Eigen vectors/values along with a complete set of unit tests.
Add algorithm to do the intersection of a line in general form (ax + by + cz + d = 0) with a sphere of radius r centered at some 3D coordinate (x, y, z).
This Kattis problem should be able to verify the functionality of the algorithm: https://open.kattis.com/problems/pop
Add quickselect algorithm. Quickselect is a selection algorithm to find the kth smallest element in an unordered list.
In the GaussianElimination.java file it is written that you should check for consistency and/or multiple solutions before trying to solve, however I don't think that the methods correctly do this for an arbitrary matrix. I think that the solve method should be run first in order to put the matrix into reduced row echelon form and from there the isInconsistent and hasMultipleSolutions can be used correctly. Does this look/sound right?
Edit .travis.yml file to setup CI on travis-ci.org for more than just broken links
Still need to implement radix sort
Implement 2SAT algorithm
Here are some good problems to test the algorithm against:
https://open.kattis.com/problems/blackvienna
https://open.kattis.com/problems/pieceittogether
https://open.kattis.com/problems/palindromicdna
Perform a search where you start at nodes A and B and try to meet in the middle. The algorithm should be able to output the edges/nodes to get from point A to point B.
Add time complexity to all algorithms in README for ease of lookup.
Once #30 is complete see if the performance can be improved by using a dynamic tree to obtain O(EVlogV) time complexity.
Use Kőnig's theorem.
Add line segment intersection and test against:
https://open.kattis.com/problems/segmentintersection
See here for a nice demo. In the actual implementation consider using the barometric coordinate system.
Finding all cliques would be great, but the maximal clique is also ok.
The traveling salesman problem can be solved in O(n!) with a brute force but can be reduced to (n22n) with DP.
See here for a nice demo. In the actual implementation consider using the barometric coordinate system.
See here for a nice demo. In the actual implementation consider using the barometric coordinate system.
Still need to code up and document usage of how to use the following algorithms. Help is of course always appreciated :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.