Tryalgo Versions Save

Algorithms and data structures for preparing programming competitions: basic and advanced

v1.7.0

2 months ago
  • added suffix_array

v1.6.1

4 months ago
  • corrected dyn_prog_Monge
  • added opt_bin_search_tree1, opt_bin_search_tree2 and decode_root_matrix_to_level

v1.6

4 months ago
  • Added the data structure PC_tree
  • Improved the implementations of maximum cardinality bipartite matching

v1.5

6 months ago
  • Added A*
  • Added Held-Karp for Hamiltonian-Cycle (Traveling Salesman Problem)
  • Corrected a bug in GraphNamedVertices (when adding multi-edges)
  • Started to type function parameters

v1.4

1 year ago
  • Move to GitHub Actions and drop Python 2.7 support completely
  • Added a Graph class in the module graph, which allows accessing vertices by names instead of indices
  • Added alternative versions of union_rectangles
  • Added an alternative version of bellman_ford which marks with distance -infinity the vertices reachable from the source by paths of arbitrary small weight
  • Added an alternative version of subsetsum
  • Added FenwickMin, a minimum variant of Fenwick Trees
  • Added module fft for the Fast Fourier Transformation
  • Added module karatsuba for multiplying polynomials
  • Added module pareto for computing the Pareto set in 2 or 3 dimensions
  • An alternative version of floyd_warshall added by Pascal Ortiz
  • Changed the web host of the documentation
  • Corrected the function building the Huffman tree
  • Fenwick Trees indices now start at zero
  • Removed erroneous PQ_trees
  • Renamed module eratosthene into primes. Added the Gries-Misra sieve in this module
  • Simplified interval_cover
  • Simplified knuth_morris_pratt.maximum_border_length

v1.3

1 year ago
  • Added LazySegmentTree
  • Added shortest_cycle
  • Functions and classes are now provided also directly by tryalgo without the need to specify the module

1.2

7 years ago
  • partition refinement
  • girth of a graph
  • ternary search
  • bipartite vertex cover
  • permutation rank

v1.1

8 years ago
  • Corrected some small isues
  • Added alternative codes, for example for fast_exponentiation
  • Added code for converting roman numbers

v1.0

8 years ago
  • Add tests