Algorithms_in_C++  1.0.0
Set of algorithms implemented in C++.
File List
Here is a list of all documented files with brief descriptions:
[detail level 123]
  data_structures
  cll
 avltree.cppA simple tree implementation using nodes
 binary_search_tree.cppA simple tree implementation using structured nodes
 binaryheap.cppA C++ program to demonstrate common Binary Heap Operations
 linkedlist_implentation_usingarray.cppLinked list implementation using Arrays
 queue.h
 stack.h
 trie_modern.cppA basic implementation of trie class to store only lower-case strings
  geometry
 line_segment_intersection.cppCheck whether two line segments intersect each other or not
  machine_learning
 adaline_learning.cppAdaptive Linear Neuron (ADALINE) implementation
 kohonen_som_topology.cppKohonen self organizing map (topological map)
 kohonen_som_trace.cppKohonen self organizing map (data tracing)
  math
 binary_exponent.cppC++ Program to find Binary Exponent Iteratively and Recursively
 check_prime.cppReduced all possibilities of a number which cannot be prime. Eg: No even number, except 2 can be a prime number, hence we will increment our loop with i+2 jumping on all odd numbers only. If number is <= 1 or if it is even except 2, break the loop and return false telling number is not prime
 double_factorial.cppCompute double factorial: \(n!!\)
 eulers_totient_function.cppC++ Program to find Euler's Totient function
 extended_euclid_algorithm.cppGCD using extended Euclid's algorithm
 factorial.cppC++ program to find factorial of given number
 fast_power.cppFaster computation for \(a^b\)
 fibonacci.cppGenerate fibonacci sequence
 fibonacci_fast.cppFaster computation of Fibonacci series
 fibonacci_large.cppComputes N^th Fibonacci number given as input argument. Uses custom build arbitrary integers library to perform additions and other operations
 gcd_iterative_euclidean.cppCompute the greatest common denominator of two integers using iterative form of Euclidean algorithm
 gcd_of_n_numbers.cppThis program aims at calculating the GCD of n numbers by division method
 gcd_recursive_euclidean.cppCompute the greatest common denominator of two integers using recursive form of Euclidean algorithm
 large_factorial.cppCompute factorial of any arbitratily large number/
 large_number.hLibrary to perform arithmatic operations on arbitrarily large numbers
 least_common_multiple.cpp
 modular_inverse_fermat_little_theorem.cppC++ Program to find the modular inverse using Fermat's Little Theorem
 number_of_positive_divisors.cppC++ Program to calculate number of divisors
 power_for_huge_numbers.cppCompute powers of large numbers
 prime_factorization.cppPrime factorization of positive integers
 prime_numbers.cppGet list of prime numbers
 primes_up_to_billion.cppCompute prime numbers upto 1 billion
 realtime_stats.cppCompute statistics for data entered in rreal-time
 sieve_of_eratosthenes.cppGet list of prime numbers using Sieve of Eratosthenes Sieve of Eratosthenes is an algorithm to find the primes that is between 2 to N (as defined in main)
 sqrt_double.cppCalculate the square root of any positive real number in \(O(\log N)\) time, with precision fixed using bisection method of root-finding
 string_fibonacci.cppThis Programme returns the Nth fibonacci as a string
  numerical_methods
 bisection_method.cppSolve the equation \(f(x)=0\) using bisection method
 durand_kerner_roots.cppCompute all possible approximate roots of any given polynomial using Durand Kerner algorithm
 false_position.cppSolve the equation \(f(x)=0\) using false position method, also known as the Secant method
 gaussian_elimination.cppGaussian elimination method
 lu_decompose.cppLU decomposition of a square matrix
 newton_raphson_method.cppSolve the equation \(f(x)=0\) using Newton-Raphson method for both real and complex solutions
 ode_forward_euler.cppSolve a multivariable first order ordinary differential equation (ODEs) using forward Euler method
 ode_midpoint_euler.cppSolve a multivariable first order ordinary differential equation (ODEs) using midpoint Euler method
 ode_semi_implicit_euler.cppSolve a multivariable first order ordinary differential equation (ODEs) using semi implicit Euler method
 ordinary_least_squares_regressor.cppLinear regression example using Ordinary least squares
 qr_decompose.hLibrary functions to compute QR decomposition of a given matrix
 qr_decomposition.cppProgram to compute the QR decomposition of a given matrix
 qr_eigen_values.cppCompute real eigen values and eigen vectors of a symmetric matrix using QR decomposition method
 successive_approximation.cppMethod of successive approximations using fixed-point iteration method
  others
 buzz_number.cppA buzz number is a number that is either divisible by 7 or has last digit as 7
 decimal_to_binary.cppFunction to convert decimal number to binary representation
 decimal_to_hexadecimal.cppConvert decimal number to hexadecimal representation
 decimal_to_roman_numeral.cppThis Programme Converts a given decimal number in the range [0,4000) to both Lower case and Upper case Roman Numeral
 fast_interger_input.cppRead integers from stdin continuously as they are entered without waiting for the \n character
 happy_number.cppA happy number is a number whose sum of digits is calculated until the sum is a single digit, and this sum turns out to be 1
 matrix_exponentiation.cppMatrix Exponentiation
 palindrome_of_number.cppCheck if a number is palindrome or not
 paranthesis_matching.cppPerform paranthesis matching
 pascal_triangle.cppPascal's triangle implementation
 primality_test.cppPrimality test implementation
 smallest_circle.cppGet centre and radius of the smallest circle that circumscribes given set of points
 sparse_matrix.cpp
 spiral_print.cppPrint the elements of a matrix traversing it spirally
 stairs_pattern.cppThis program is use to print the following pattern
 tower_of_hanoi.cppSolve the Tower of Hanoi problem
 vector_important_functions.cppA C++ program to demonstrate working of std::sort(), std::reverse()
  probability
 addition_rule.cppAddition rule of probabilities
 bayes_theorem.cppBayes' theorem
 binomial_dist.cppBinomial distribution example
 poisson_dist.cppPoisson statistics
  search
 binary_search.cppBinary search algorithm
 exponential_search.cppExponential search algorithm
 hash_search.cppHash Search Algorithm - Best Time Complexity Ω(1)
 interpolation_search.cppInterpolation search algorithm
 interpolation_search2.cppInterpolation search algorithm
 jump_search.cppC++ program to implement Jump Search
 linear_search.cppLinear search algorithm
 median_search.cppMedian search algorithm
 ternary_search.cppTernary search algorithm
 text_search.cppSearch for words in a long textual paragraph
  sorting
 bubble_sort.cppBubble sort algorithm
 non_recursive_merge_sort.cpp
 quick_sort.cppQuick sort algorithm
 shell_sort2.cppShell sort algorithm
  strings
 brute_force_string_searching.cppString pattern search - brute force
 knuth_morris_pratt.cppThe Knuth-Morris-Pratt Algorithm for finding a pattern within a piece of text with complexity O(n + m)
 rabin_karp.cppThe Rabin-Karp Algorithm for finding a pattern within a piece of text with complexity O(n + m)