Algorithms_in_C++ 1.0.0
Set of algorithms implemented in C++.
others Directory Reference

Files

file  buzz_number.cpp
 A buzz number is a number that is either divisible by 7 or has last digit as 7.
 
file  decimal_to_binary.cpp
 Function to convert decimal number to binary representation.
 
file  decimal_to_hexadecimal.cpp
 Convert decimal number to hexadecimal representation.
 
file  decimal_to_roman_numeral.cpp
 This Programme Converts a given decimal number in the range [0,4000) to both Lower case and Upper case Roman Numeral.
 
file  fast_integer_input.cpp
 Read integers from stdin continuously as they are entered without waiting for the \n character.
 
file  happy_number.cpp
 A 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.
 
file  iterative_tree_traversals.cpp
 Iterative version of Preorder, Postorder, and preorder [Traversal of the Tree] (https://en.wikipedia.org/wiki/Tree_traversal)
 
file  kadanes3.cpp
 Efficient implementation for maximum contiguous subarray sum by Kadane's algorithm.
 
file  lru_cache.cpp
 An implementation of LRU Cache. Lru is a part of cache algorithms (also frequently called cache replacement algorithms or cache replacement policies).
 
file  matrix_exponentiation.cpp
 Matrix Exponentiation.
 
file  palindrome_of_number.cpp
 Check if a number is palindrome or not.
 
file  paranthesis_matching.cpp
 Perform paranthesis matching.
 
file  pascal_triangle.cpp
 Pascal's triangle implementation.
 
file  postfix_evaluation.cpp
 Evaluation of Postfix Expression
 
file  primality_test.cpp
 Primality test implementation.
 
file  recursive_tree_traversal.cpp
 Recursive version of Inorder, Preorder, and Postorder [Traversal of the Tree] (https://en.wikipedia.org/wiki/Tree_traversal)
 
file  smallest_circle.cpp
 Get centre and radius of the smallest circle that circumscribes given set of points.
 
file  sparse_matrix.cpp
 
file  spiral_print.cpp
 Print the elements of a matrix traversing it spirally.
 
file  stairs_pattern.cpp
 This program is use to print the following pattern.
 
file  tower_of_hanoi.cpp
 Solve the Tower of Hanoi problem.
 
file  vector_important_functions.cpp
 A C++ program to demonstrate working of std::sort(), std::reverse()