![]() |
TheAlgorithms/C++ 1.0.0
All the algorithms implemented in C++
|
Files | |
| buzz_number.cpp | |
| A buzz number is a number that is either divisible by 7 or has last digit as 7. | |
| decimal_to_binary.cpp | |
| Function to convert decimal number to binary representation. | |
| decimal_to_hexadecimal.cpp | |
| Convert decimal number to hexadecimal representation. | |
| 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. | |
| easter.cpp | |
| fast_integer_input.cpp | |
| Read integers from stdin continuously as they are entered without waiting for the \n character. | |
| 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. | |
| iterative_tree_traversals.cpp | |
| Iterative version of Preorder, Postorder, and preorder [Traversal of the Tree] (https://en.wikipedia.org/wiki/Tree_traversal) | |
| kadanes3.cpp | |
| Efficient implementation for maximum contiguous subarray sum by Kadane's algorithm. | |
| kelvin_to_celsius.cpp | |
| Conversion from Kelvin to Celsius degrees. | |
| lfu_cache.cpp | |
| Implementation for [LFU Cache] (https://en.wikipedia.org/wiki/Least_frequently_used) | |
| longest_substring_without_repeating_characters.cpp | |
| Solution for Longest Substring Without Repeating Characters problem. | |
| 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). | |
| lru_cache2.cpp | |
| Implementation for [LRU Cache] (https://en.wikipedia.org/wiki/Cache_replacement_policies#:~:text=Least%20Recently%20Used%20(LRU)) | |
| matrix_exponentiation.cpp | |
| Matrix Exponentiation. | |
| palindrome_of_number.cpp | |
| Check if a number is palindrome or not. | |
| paranthesis_matching.cpp | |
| Perform paranthesis matching. | |
| pascal_triangle.cpp | |
| Pascal's triangle implementation. | |
| postfix_evaluation.cpp | |
| Evaluation of Postfix Expression | |
| primality_test.cpp | |
| Primality test implementation. | |
| recursive_tree_traversal.cpp | |
| Recursive version of Inorder, Preorder, and Postorder [Traversal of the Tree] (https://en.wikipedia.org/wiki/Tree_traversal) | |
| smallest_circle.cpp | |
| Get centre and radius of the smallest circle that circumscribes given set of points. | |
| sparse_matrix.cpp | |
| spiral_print.cpp | |
| Print the elements of a matrix traversing it spirally. | |
| stairs_pattern.cpp | |
| This program is use to print the following pattern. | |
| tower_of_hanoi.cpp | |
| Solve the Tower of Hanoi problem. | |
| vector_important_functions.cpp | |
| A C++ program to demonstrate working of std::sort(), std::reverse() | |