Skip to content

Repository files navigation

C++ implementations of algorithms

These are my C++ implementations of algorithms, which are written for studying/understanding algorithms.

These codes are published in public domain. You can use the codes for any purpose without any warranty.

author: Takanori MAEHARA (e-mail: maehara@prefield.com / twitter: @tmaehara)

List

Combinatorics

Data structure

Dynamic programming

This category should be reorganized.

  • dynamic_programming/knapsack.cc
  • dynamic_programming/longest_increasing_subsequence.cc
  • dynamic_programming/minimum_coin_change.cc
  • dynamic_programming/rod_cutting.cc

Computational Geometry (2D)

  • geometry/!circle.cc
  • geometry/bk_tree.cc
  • geometry/convex_hull.cc
  • geometry/covered_range.cc
  • geometry/randomized_kd_tree.cc
  • geometry/rectangle_union.cc
  • geometry/rectilinear_mst.cc
  • geometry/vantage_point_tree.cc

Graph Algorithms

Mathematics

This category should be reorganized.

  • math/KaratsubaMultiplication.cc
  • math/ODE_dormand_prince.cc
  • math/ODE_runge_kutta.cc
  • math/SimplexMethodLP.cc
  • math/assignment.cc
  • math/fast_fourier_transform.cc
  • math/fast_modulo_transform.cc
  • math/find_min_unimodal.cc
  • math/integrate.cc
  • math/integrate_DE.cc
  • math/linear_recursion.cc
  • math/matrix_bool.cc
  • math/matrix_double.cc
  • math/permanent.cc
  • math/polynomial_int.cc
  • math/quadratic_equation.cc
  • math/satisfiability.cc
  • math/satisfiability_hornsat.cc
  • math/satisfiability_twosat.cc
  • math/zero_one_IP_solver.cc

Number theory

  • number_theory/carmichael_lambda.cc
  • number_theory/divisor_sigma.cc
  • number_theory/euler_phi.cc
  • number_theory/mobius_mu.cc
  • number_theory/modular_arithmetics.cc
  • number_theory/primes.cc

Other

This category should be reorganized.

Misc

About

C++ Implementation of Algorithms (aka. Spaghetti Source)

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages