Algorithms_in_C++ 1.0.0
Set of algorithms implemented in C++.
|
Dynamic Programming algorithms. More...
Functions | |
uint64_t | LIS (const std::vector< uint64_t > &a, const uint32_t &n) |
Calculate the longest increasing subsequence for the specified numbers. More... | |
Dynamic Programming algorithms.
Dynamic programming algorithms.
for std::vector
Dynamic Programming algorithm.
Dynamic Programming Algorithms.
for assert
for IO operations for std::string
library for std::vector
STL library
for assert for std::max for io operations
Dynamic Programming algorithms
for assert for std::max for IO operations
Dynamic Programming algorithms
for assert for IO operations
Dynamic Programming algorithms
uint64_t dynamic_programming::LIS | ( | const std::vector< uint64_t > & | a, |
const uint32_t & | n | ||
) |
Calculate the longest increasing subsequence for the specified numbers.
a | the array used to calculate the longest increasing subsequence |
n | the size used for the arrays |
a
array of size n