@@ -137,54 +125,45 @@ $(function(){initNavTree('d6/d05/reverse__a__linked__list_8cpp.html','../../');
Go to the source code of this file.
-
+
Implementation of Reversing a single linked list
The linked list is a data structure used for holding a sequence of values, which can be added, displayed, reversed, or removed.
-
+
Algorithm
Values can be added by iterating to the end of a list (by following the pointers) starting from the first link. Whichever link points to null is considered the last link and is pointed to the new value.
Linked List can be reversed by using 3 pointers: current, previous, and next_node; we keep iterating until the last node. Meanwhile, before changing to the next of current, we store it in the next_node pointer, now we store the prev pointer in the current of next, this is where the actual reversal happens. And then we move the prev and current pointers one step forward. Then the head node is made to point to the last node (prev pointer) after completion of an iteration.
A graphic explanation and view of what's happening behind the scenes
Definition in file reverse_a_linked_list.cpp .
-
+
◆ copy_all_nodes()
@@ -266,7 +245,7 @@ Algorithm
- static void test
+ void test
(
)
@@ -398,11 +377,19 @@ Algorithm
+
+
diff --git a/d6/d05/reverse__a__linked__list_8cpp_source.html b/d6/d05/reverse__a__linked__list_8cpp_source.html
index e6fa8fe2c..b8828f3c8 100644
--- a/d6/d05/reverse__a__linked__list_8cpp_source.html
+++ b/d6/d05/reverse__a__linked__list_8cpp_source.html
@@ -4,7 +4,7 @@
-
+
TheAlgorithms/C++: data_structures/reverse_a_linked_list.cpp Source File
@@ -19,7 +19,6 @@
-
@@ -60,26 +59,20 @@ window.MathJax = {
-
+
@@ -94,10 +87,9 @@ $(function() {
+
+
diff --git a/d6/d0c/namespacehashing.html b/d6/d0c/namespacehashing.html
index b0e081956..cd2a7f6f9 100644
--- a/d6/d0c/namespacehashing.html
+++ b/d6/d0c/namespacehashing.html
@@ -4,7 +4,7 @@
-
+
TheAlgorithms/C++: hashing Namespace Reference
@@ -19,7 +19,6 @@
-
@@ -60,26 +59,20 @@ window.MathJax = {
-
+
@@ -94,10 +87,9 @@ $(function() {
+
Used for assert.
More...
-
+
Used for assert.
For std::vector.
For assert.
@@ -139,11 +131,19 @@ $(function(){initNavTree('d6/d0c/namespacehashing.html','../../'); initResizable
Hashing algorithms
+
+
diff --git a/d6/d10/cut__rod_8cpp.html b/d6/d10/cut__rod_8cpp.html
index 8c8b795dd..21af51803 100644
--- a/d6/d10/cut__rod_8cpp.html
+++ b/d6/d10/cut__rod_8cpp.html
@@ -4,7 +4,7 @@
-
+
TheAlgorithms/C++: dynamic_programming/cut_rod.cpp File Reference
@@ -19,7 +19,6 @@
-
@@ -60,26 +59,20 @@ window.MathJax = {
-
+
@@ -94,10 +87,9 @@ $(function() {
+
@@ -138,37 +127,32 @@ $(function(){initNavTree('d6/d10/cut__rod_8cpp.html','../../'); initResizable(tr
Go to the source code of this file.
-
+
Implementation of cutting a rod problem.
Given a rod of length n inches and an array of prices that contains prices of all pieces of size<=n. Determine the maximum profit obtainable by cutting up the rod and selling the pieces.
-
+
Algorithm
The idea is to break the given rod into every smaller piece as possible and then check profit for each piece, by calculating maximum profit for smaller pieces we will build the solution for larger pieces in bottom-up manner.
Author Anmol
@@ -176,7 +160,7 @@ Algorithm
Pardeep
Definition in file cut_rod.cpp .
-
+
◆ main()
@@ -282,7 +266,7 @@ template<size_t T>
- static void test
+ void test
(
)
@@ -339,11 +323,19 @@ template<size_t T>
+
+
diff --git a/d6/d10/cut__rod_8cpp_source.html b/d6/d10/cut__rod_8cpp_source.html
index 19a5d3fc1..b816ada72 100644
--- a/d6/d10/cut__rod_8cpp_source.html
+++ b/d6/d10/cut__rod_8cpp_source.html
@@ -4,7 +4,7 @@
-
+
TheAlgorithms/C++: dynamic_programming/cut_rod.cpp Source File
@@ -19,7 +19,6 @@
-
@@ -60,26 +59,20 @@ window.MathJax = {
-
+
@@ -94,10 +87,9 @@ $(function() {
+
Dynamic Programming algorithms.
+
diff --git a/d6/d1a/dnf__sort_8cpp.html b/d6/d1a/dnf__sort_8cpp.html
index e9a2aef8f..f616b248d 100644
--- a/d6/d1a/dnf__sort_8cpp.html
+++ b/d6/d1a/dnf__sort_8cpp.html
@@ -4,7 +4,7 @@
-
+
TheAlgorithms/C++: sorting/dnf_sort.cpp File Reference
@@ -19,7 +19,6 @@
-
@@ -60,26 +59,20 @@ window.MathJax = {
-
+
@@ -94,10 +87,9 @@ $(function() {
+
@@ -138,39 +127,34 @@ $(function(){initNavTree('d6/d1a/dnf__sort_8cpp.html','../../'); initResizable(t
Go to the source code of this file.
-
+
Implementation of the DNF sort implementation.
C++ program to sort an array with 0, 1 and 2 in a single pass(DNF sort). Since one traversal of the array is there hence it works in O(n) time complexity.
Author Sujal Gupta
Definition in file dnf_sort.cpp .
-
+
◆ dnfSort()
@@ -273,7 +257,7 @@ template<typename T>
- static void test
+ void test
(
)
@@ -326,11 +310,19 @@ template<typename T>
+
+
diff --git a/d6/d1a/dnf__sort_8cpp_source.html b/d6/d1a/dnf__sort_8cpp_source.html
index 2872f0fd9..8d9060855 100644
--- a/d6/d1a/dnf__sort_8cpp_source.html
+++ b/d6/d1a/dnf__sort_8cpp_source.html
@@ -4,7 +4,7 @@
-
+
TheAlgorithms/C++: sorting/dnf_sort.cpp Source File
@@ -19,7 +19,6 @@
-
@@ -60,26 +59,20 @@ window.MathJax = {
-
+
@@ -94,10 +87,9 @@ $(function() {
+
+
diff --git a/d6/d1d/bubble__sort_8cpp__incl.svg b/d6/d1d/bubble__sort_8cpp__incl.svg
index 69491af0c..b13224c16 100644
--- a/d6/d1d/bubble__sort_8cpp__incl.svg
+++ b/d6/d1d/bubble__sort_8cpp__incl.svg
@@ -1,11 +1,11 @@
-
+ viewBox="0.00 0.00 378.00 83.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -24,7 +24,7 @@
Node1
-sorting/bubble_sort.cpp
+sorting/bubble_sort.cpp
@@ -33,7 +33,7 @@
Node2
-algorithm
+algorithm
@@ -51,7 +51,7 @@
Node3
-cassert
+cassert
@@ -69,7 +69,7 @@
Node4
-iostream
+iostream
@@ -87,7 +87,7 @@
Node5
-string
+string
@@ -105,7 +105,7 @@
Node6
-utility
+utility
@@ -123,7 +123,7 @@
Node7
-vector
+vector
diff --git a/d6/d1d/bubble__sort_8cpp__incl_org.svg b/d6/d1d/bubble__sort_8cpp__incl_org.svg
index 3d30b5040..e81584f8d 100644
--- a/d6/d1d/bubble__sort_8cpp__incl_org.svg
+++ b/d6/d1d/bubble__sort_8cpp__incl_org.svg
@@ -1,11 +1,11 @@
-
+ viewBox="0.00 0.00 378.00 83.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
sorting/bubble_sort.cpp
@@ -13,7 +13,7 @@
Node1
-sorting/bubble_sort.cpp
+sorting/bubble_sort.cpp
@@ -22,7 +22,7 @@
Node2
-algorithm
+algorithm
@@ -40,7 +40,7 @@
Node3
-cassert
+cassert
@@ -58,7 +58,7 @@
Node4
-iostream
+iostream
@@ -76,7 +76,7 @@
Node5
-string
+string
@@ -94,7 +94,7 @@
Node6
-utility
+utility
@@ -112,7 +112,7 @@
Node7
-vector
+vector
diff --git a/d6/d1f/class_complex-members.html b/d6/d1f/class_complex-members.html
index 360e2b042..ebf4802cb 100644
--- a/d6/d1f/class_complex-members.html
+++ b/d6/d1f/class_complex-members.html
@@ -4,7 +4,7 @@
-
+
TheAlgorithms/C++: Member List
@@ -19,7 +19,6 @@
-
@@ -60,26 +59,20 @@ window.MathJax = {
-
+
@@ -94,10 +87,9 @@ $(function() {
+
diff --git a/d6/d20/lu__decomposition_8h__incl.svg b/d6/d20/lu__decomposition_8h__incl.svg
index 00dc221e7..ca5b5a06f 100644
--- a/d6/d20/lu__decomposition_8h__incl.svg
+++ b/d6/d20/lu__decomposition_8h__incl.svg
@@ -1,11 +1,11 @@
-
+ viewBox="0.00 0.00 191.00 94.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -24,8 +24,8 @@
Node1
-numerical_methods/lu
-_decomposition.h
+numerical_methods/lu
+_decomposition.h
@@ -34,7 +34,7 @@
Node2
-iostream
+iostream
@@ -52,7 +52,7 @@
Node3
-valarray
+valarray
@@ -70,7 +70,7 @@
Node4
-vector
+vector
diff --git a/d6/d20/lu__decomposition_8h__incl_org.svg b/d6/d20/lu__decomposition_8h__incl_org.svg
index be92dd8bc..99db6027a 100644
--- a/d6/d20/lu__decomposition_8h__incl_org.svg
+++ b/d6/d20/lu__decomposition_8h__incl_org.svg
@@ -1,11 +1,11 @@
-
+ viewBox="0.00 0.00 191.00 94.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
numerical_methods/lu_decomposition.h
@@ -13,8 +13,8 @@
Node1
-numerical_methods/lu
-_decomposition.h
+numerical_methods/lu
+_decomposition.h
@@ -23,7 +23,7 @@
Node2
-iostream
+iostream
@@ -41,7 +41,7 @@
Node3
-valarray
+valarray
@@ -59,7 +59,7 @@
Node4
-vector
+vector
diff --git a/d6/d25/classoperations__on__datastructures_1_1reverse__binary__tree_1_1_binary_tree__coll__graph.map b/d6/d25/classoperations__on__datastructures_1_1reverse__binary__tree_1_1_binary_tree__coll__graph.map
index ca284cf1d..5da1ce291 100644
--- a/d6/d25/classoperations__on__datastructures_1_1reverse__binary__tree_1_1_binary_tree__coll__graph.map
+++ b/d6/d25/classoperations__on__datastructures_1_1reverse__binary__tree_1_1_binary_tree__coll__graph.map
@@ -1,6 +1,6 @@
-
-
-
-
+
+
+
+
diff --git a/d6/d25/classoperations__on__datastructures_1_1reverse__binary__tree_1_1_binary_tree__coll__graph.md5 b/d6/d25/classoperations__on__datastructures_1_1reverse__binary__tree_1_1_binary_tree__coll__graph.md5
index aa27af71c..17a840150 100644
--- a/d6/d25/classoperations__on__datastructures_1_1reverse__binary__tree_1_1_binary_tree__coll__graph.md5
+++ b/d6/d25/classoperations__on__datastructures_1_1reverse__binary__tree_1_1_binary_tree__coll__graph.md5
@@ -1 +1 @@
-b1685000bafc51796bb8764fb57533ca
\ No newline at end of file
+313cfbdf164d3e587f11ffa33e610d9d
\ No newline at end of file
diff --git a/d6/d25/classoperations__on__datastructures_1_1reverse__binary__tree_1_1_binary_tree__coll__graph.svg b/d6/d25/classoperations__on__datastructures_1_1reverse__binary__tree_1_1_binary_tree__coll__graph.svg
index c3d794f9c..0ab308b48 100644
--- a/d6/d25/classoperations__on__datastructures_1_1reverse__binary__tree_1_1_binary_tree__coll__graph.svg
+++ b/d6/d25/classoperations__on__datastructures_1_1reverse__binary__tree_1_1_binary_tree__coll__graph.svg
@@ -1,11 +1,11 @@
-
-
+
@@ -17,15 +17,15 @@
]]>
-
+
operations_on_datastructures::reverse_binary_tree::BinaryTree
Node1
-operations_on_datastructures
-::reverse_binary_tree::BinaryTree
+operations_on_datastructures
+::reverse_binary_tree::BinaryTree
@@ -33,9 +33,9 @@
Node2
-
-operations_on_datastructures
-::reverse_binary_tree::Node
+
+operations_on_datastructures
+::reverse_binary_tree::Node
@@ -43,22 +43,22 @@
Node2->Node1
-
-
+
+
- root
+root
Node2->Node2
-
-
+
+
- left
-right
+left
+right
diff --git a/d6/d25/classoperations__on__datastructures_1_1reverse__binary__tree_1_1_binary_tree__coll__graph_org.svg b/d6/d25/classoperations__on__datastructures_1_1reverse__binary__tree_1_1_binary_tree__coll__graph_org.svg
index f84d34ac8..257f4700c 100644
--- a/d6/d25/classoperations__on__datastructures_1_1reverse__binary__tree_1_1_binary_tree__coll__graph_org.svg
+++ b/d6/d25/classoperations__on__datastructures_1_1reverse__binary__tree_1_1_binary_tree__coll__graph_org.svg
@@ -1,20 +1,20 @@
-
-
-
+
+
operations_on_datastructures::reverse_binary_tree::BinaryTree
Node1
-operations_on_datastructures
-::reverse_binary_tree::BinaryTree
+operations_on_datastructures
+::reverse_binary_tree::BinaryTree
@@ -22,9 +22,9 @@
Node2
-
-operations_on_datastructures
-::reverse_binary_tree::Node
+
+operations_on_datastructures
+::reverse_binary_tree::Node
@@ -32,22 +32,22 @@
Node2->Node1
-
-
+
+
- root
+root
Node2->Node2
-
-
+
+
- left
-right
+left
+right
diff --git a/d6/d26/classciphers_1_1_hill_cipher.html b/d6/d26/classciphers_1_1_hill_cipher.html
index 10033a8ca..583fa216c 100644
--- a/d6/d26/classciphers_1_1_hill_cipher.html
+++ b/d6/d26/classciphers_1_1_hill_cipher.html
@@ -4,7 +4,7 @@
-
+
TheAlgorithms/C++: ciphers::HillCipher Class Reference
@@ -19,7 +19,6 @@
-
@@ -60,26 +59,20 @@ window.MathJax = {
-
+
@@ -94,10 +87,9 @@ $(function() {
+
@@ -132,61 +120,47 @@ $(function(){initNavTree('d6/d26/classciphers_1_1_hill_cipher.html','../../'); i
Implementation of Hill Cipher algorithm.
More...
-
+
Implementation of Hill Cipher algorithm.
Definition at line 82 of file hill_cipher.cpp .
-
+
◆ codec()
@@ -197,7 +171,7 @@ Static Private Member Functions
- static const std::string ciphers::HillCipher::codec
+ const std::string ciphers::HillCipher::codec
(
const std::string & text ,
@@ -273,7 +247,7 @@ Static Private Member Functions
- static const std::string ciphers::HillCipher::decrypt_text
+ const std::string ciphers::HillCipher::decrypt_text
(
const std::string & text ,
@@ -318,7 +292,7 @@ Static Private Member Functions
- static const std::string ciphers::HillCipher::encrypt_text
+ const std::string ciphers::HillCipher::encrypt_text
(
const std::string & text ,
@@ -364,7 +338,7 @@ template<typename T>
- static const T ciphers::HillCipher::gcd
+ const T ciphers::HillCipher::gcd
(
T a ,
@@ -417,7 +391,7 @@ template<typename T>
- static matrix < int > ciphers::HillCipher::generate_decryption_key
+ matrix < int > ciphers::HillCipher::generate_decryption_key
(
matrix < int > const & encrypt_key )
@@ -497,7 +471,7 @@ template<typename T>
- static matrix < int > ciphers::HillCipher::generate_encryption_key
+ matrix < int > ciphers::HillCipher::generate_encryption_key
(
size_t size ,
@@ -574,7 +548,7 @@ template<typename T>
- static std::pair< matrix < int >, matrix < int > > ciphers::HillCipher::generate_keys
+ std::pair< matrix < int >, matrix < int > > ciphers::HillCipher::generate_keys
(
size_t size ,
@@ -635,7 +609,7 @@ template<typename T>
- static uint8_t ciphers::HillCipher::get_char_idx
+ uint8_t ciphers::HillCipher::get_char_idx
(
const char ch )
@@ -682,7 +656,7 @@ template<typename T>
- static char ciphers::HillCipher::get_idx_char
+ char ciphers::HillCipher::get_idx_char
(
const uint8_t idx )
@@ -721,7 +695,7 @@ template<typename T>
- static matrix < double > ciphers::HillCipher::get_inverse
+ matrix < double > ciphers::HillCipher::get_inverse
(
matrix < T > const & A )
@@ -813,7 +787,7 @@ template<typename T>
- static const std::valarray< uint8_t > ciphers::HillCipher::mat_mul
+ const std::valarray< uint8_t > ciphers::HillCipher::mat_mul
(
const std::valarray< uint8_t > & vector ,
@@ -869,7 +843,7 @@ template<typename T>
- static int ciphers::HillCipher::modulo
+ int ciphers::HillCipher::modulo
(
int a ,
@@ -908,7 +882,7 @@ template<typename T1, typename T2>
- static double ciphers::HillCipher::rand_range
+ double ciphers::HillCipher::rand_range
(
matrix < T2 > * M ,
@@ -975,7 +949,7 @@ template<typename T1, typename T2>
- static const T2 ciphers::HillCipher::rand_range
+ const T2 ciphers::HillCipher::rand_range
(
T1 a ,
@@ -1024,11 +998,19 @@ template<typename T1, typename T2>
+
+
diff --git a/d6/d26/house__robber_8cpp.html b/d6/d26/house__robber_8cpp.html
index 9d70091ef..89e1db997 100644
--- a/d6/d26/house__robber_8cpp.html
+++ b/d6/d26/house__robber_8cpp.html
@@ -4,7 +4,7 @@
-
+
TheAlgorithms/C++: dynamic_programming/house_robber.cpp File Reference
@@ -19,7 +19,6 @@
-
@@ -60,26 +59,20 @@ window.MathJax = {
-
+
@@ -94,10 +87,9 @@ $(function() {
+
◆ houseRobber()
@@ -262,7 +246,7 @@ Functions
- static void test
+ void test
(
)
@@ -325,11 +309,19 @@ Functions
+
+
diff --git a/d6/d26/house__robber_8cpp_source.html b/d6/d26/house__robber_8cpp_source.html
index 7b60a1b7a..99a060af6 100644
--- a/d6/d26/house__robber_8cpp_source.html
+++ b/d6/d26/house__robber_8cpp_source.html
@@ -4,7 +4,7 @@
-
+
TheAlgorithms/C++: dynamic_programming/house_robber.cpp Source File
@@ -19,7 +19,6 @@
-
@@ -60,26 +59,20 @@ window.MathJax = {
-
+
@@ -94,10 +87,9 @@ $(function() {
+
Functions for the House Robber algorithm.
+
diff --git a/d6/d2b/structbinary__search__tree_1_1bst__node__coll__graph.map b/d6/d2b/structbinary__search__tree_1_1bst__node__coll__graph.map
index 2b285b148..d5768e52c 100644
--- a/d6/d2b/structbinary__search__tree_1_1bst__node__coll__graph.map
+++ b/d6/d2b/structbinary__search__tree_1_1bst__node__coll__graph.map
@@ -1,11 +1,11 @@
-
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
diff --git a/d6/d2b/structbinary__search__tree_1_1bst__node__coll__graph.md5 b/d6/d2b/structbinary__search__tree_1_1bst__node__coll__graph.md5
index 1dc87ca44..d403e49bc 100644
--- a/d6/d2b/structbinary__search__tree_1_1bst__node__coll__graph.md5
+++ b/d6/d2b/structbinary__search__tree_1_1bst__node__coll__graph.md5
@@ -1 +1 @@
-16a770c4a032637eaec70d055bcf747a
\ No newline at end of file
+1064605b53ae14527c80656d75d56dd8
\ No newline at end of file
diff --git a/d6/d2b/structbinary__search__tree_1_1bst__node__coll__graph.svg b/d6/d2b/structbinary__search__tree_1_1bst__node__coll__graph.svg
index 9907c7d82..cd6c5122c 100644
--- a/d6/d2b/structbinary__search__tree_1_1bst__node__coll__graph.svg
+++ b/d6/d2b/structbinary__search__tree_1_1bst__node__coll__graph.svg
@@ -1,11 +1,11 @@
-
-
+
@@ -17,15 +17,15 @@
]]>
-
+
binary_search_tree< T >::bst_node
Node1
-binary_search_tree
-< T >::bst_node
+binary_search_tree
+< T >::bst_node
@@ -33,8 +33,8 @@
Node2
-
-T
+
+T
@@ -42,19 +42,19 @@
Node2->Node1
-
-
+
+
- value
+value
Node4
-
-binary_search_tree
-< T >::bst_node
+
+binary_search_tree
+< T >::bst_node
@@ -62,19 +62,19 @@
Node2->Node4
-
-
+
+
- value
+value
Node3
-
-std::unique_ptr< binary
-_search_tree::bst_node >
+
+std::unique_ptr< binary
+_search_tree::bst_node >
@@ -82,33 +82,33 @@
Node3->Node1
-
-
+
+
- left
-right
+left
+right
Node3->Node4
-
-
+
+
- left
-right
+left
+right
Node4->Node3
-
-
+
+
- ptr
+ptr
diff --git a/d6/d2b/structbinary__search__tree_1_1bst__node__coll__graph_org.svg b/d6/d2b/structbinary__search__tree_1_1bst__node__coll__graph_org.svg
index 9b2097bfd..cdc7c303c 100644
--- a/d6/d2b/structbinary__search__tree_1_1bst__node__coll__graph_org.svg
+++ b/d6/d2b/structbinary__search__tree_1_1bst__node__coll__graph_org.svg
@@ -1,20 +1,20 @@
-
-
-
+
+
binary_search_tree< T >::bst_node
Node1
-binary_search_tree
-< T >::bst_node
+binary_search_tree
+< T >::bst_node
@@ -22,8 +22,8 @@
Node2
-
-T
+
+T
@@ -31,19 +31,19 @@
Node2->Node1
-
-
+
+
- value
+value
Node4
-
-binary_search_tree
-< T >::bst_node
+
+binary_search_tree
+< T >::bst_node
@@ -51,19 +51,19 @@
Node2->Node4
-
-
+
+
- value
+value
Node3
-
-std::unique_ptr< binary
-_search_tree::bst_node >
+
+std::unique_ptr< binary
+_search_tree::bst_node >
@@ -71,33 +71,33 @@
Node3->Node1
-
-
+
+
- left
-right
+left
+right
Node3->Node4
-
-
+
+
- left
-right
+left
+right
Node4->Node3
-
-
+
+
- ptr
+ptr
diff --git a/d6/d2c/caesar__cipher_8cpp.html b/d6/d2c/caesar__cipher_8cpp.html
index efb98be6b..f56baab08 100644
--- a/d6/d2c/caesar__cipher_8cpp.html
+++ b/d6/d2c/caesar__cipher_8cpp.html
@@ -4,7 +4,7 @@
-
+
TheAlgorithms/C++: ciphers/caesar_cipher.cpp File Reference
@@ -19,7 +19,6 @@
-
@@ -60,26 +59,20 @@ window.MathJax = {
-
+
@@ -94,10 +87,9 @@ $(function() {
+
@@ -136,35 +125,29 @@ $(function(){initNavTree('d6/d2c/caesar__cipher_8cpp.html','../../'); initResiza
Go to the source code of this file.
-
+
Implementation of Caesar cipher algorithm.
In cryptography, a Caesar cipher, also known as Caesar's cipher, the shift cipher, Caesar's code or Caesar shift, is one of the simplest and most widely known encryption techniques. It is a type of substitution cipher in which each letter in the plaintext is replaced by a letter some fixed number of positions down the alphabet. For example, with a left shift of 3, D would be replaced by A, E would become B, and so on. The method is named after Julius Caesar, who used it in his private correspondence.
-
+
Algorithm
The encryption can also be represented using modular arithmetic by first transforming the letters into numbers, according to the scheme, A → 0, B → 1, ..., Z → 25. Encryption of a letter x by a shift n can be described mathematically as,
\[ E(x) = (x + n)\;\mbox{mod}\; 26\]
@@ -176,7 +159,7 @@ Algorithm
Author Deep Raval
Definition in file caesar_cipher.cpp .
-
+
◆ decrypt()
@@ -330,11 +313,19 @@ Algorithm
+
+
diff --git a/d6/d2c/caesar__cipher_8cpp_source.html b/d6/d2c/caesar__cipher_8cpp_source.html
index b7d5d9306..146585000 100644
--- a/d6/d2c/caesar__cipher_8cpp_source.html
+++ b/d6/d2c/caesar__cipher_8cpp_source.html
@@ -4,7 +4,7 @@
-
+
TheAlgorithms/C++: ciphers/caesar_cipher.cpp Source File
@@ -19,7 +19,6 @@
-
@@ -60,26 +59,20 @@ window.MathJax = {
-
+
@@ -94,10 +87,9 @@ $(function() {
+
Algorithms for encryption and decryption.
+
diff --git a/d6/d2d/modular__inverse__simple_8cpp.html b/d6/d2d/modular__inverse__simple_8cpp.html
index 18e7b590c..6a770c48e 100644
--- a/d6/d2d/modular__inverse__simple_8cpp.html
+++ b/d6/d2d/modular__inverse__simple_8cpp.html
@@ -4,7 +4,7 @@
-
+
TheAlgorithms/C++: math/modular_inverse_simple.cpp File Reference
@@ -19,7 +19,6 @@
-
@@ -60,26 +59,20 @@ window.MathJax = {
-
+
@@ -94,10 +87,9 @@ $(function() {
+
◆ imod()
@@ -239,7 +226,7 @@ Functions
- static void test
+ void test
(
)
@@ -280,11 +267,19 @@ Functions
+
+
diff --git a/d6/d2d/modular__inverse__simple_8cpp_source.html b/d6/d2d/modular__inverse__simple_8cpp_source.html
index 5f62219c7..bf9de7d99 100644
--- a/d6/d2d/modular__inverse__simple_8cpp_source.html
+++ b/d6/d2d/modular__inverse__simple_8cpp_source.html
@@ -4,7 +4,7 @@
-
+
TheAlgorithms/C++: math/modular_inverse_simple.cpp Source File
@@ -19,7 +19,6 @@
-
@@ -60,26 +59,20 @@ window.MathJax = {
-
+
@@ -94,10 +87,9 @@ $(function() {
+
+
diff --git a/d6/d2e/fenwick__tree_8cpp.html b/d6/d2e/fenwick__tree_8cpp.html
index 8a03d7674..d9c24718b 100644
--- a/d6/d2e/fenwick__tree_8cpp.html
+++ b/d6/d2e/fenwick__tree_8cpp.html
@@ -4,7 +4,7 @@
-
+
TheAlgorithms/C++: range_queries/fenwick_tree.cpp File Reference
@@ -19,7 +19,6 @@
-
@@ -60,26 +59,20 @@ window.MathJax = {
-
+
@@ -94,10 +87,9 @@ $(function() {
+
@@ -137,33 +125,29 @@ $(function(){initNavTree('d6/d2e/fenwick__tree_8cpp.html','../../'); initResizab
Go to the source code of this file.
-
+
Fenwick Tree algorithm implementation
From Wikipedia, the free encyclopedia.
A Fenwick tree or binary indexed tree (BIT) is a clever implementation of a datastructure called bionomal tree. It can update values and solve range queries with operations that is; commulative, associative and has an inverse for this type of element. It can also solve immutable range queries (min/max), when operations only are associative over this type of element. Some of these restrictions can be removed, by storing redunant information; like in max/min range queries.
@@ -172,7 +156,7 @@ Functions
David Leal
Definition in file fenwick_tree.cpp .
-
+
◆ main()
@@ -210,7 +194,7 @@ Functions
- static void tests
+ void tests
(
)
@@ -246,11 +230,19 @@ Functions
+
+
diff --git a/d6/d2e/fenwick__tree_8cpp_source.html b/d6/d2e/fenwick__tree_8cpp_source.html
index 67e5b12ac..0f461913f 100644
--- a/d6/d2e/fenwick__tree_8cpp_source.html
+++ b/d6/d2e/fenwick__tree_8cpp_source.html
@@ -4,7 +4,7 @@
-
+
TheAlgorithms/C++: range_queries/fenwick_tree.cpp Source File
@@ -19,7 +19,6 @@
-
@@ -60,26 +59,20 @@ window.MathJax = {
-
+
@@ -94,10 +87,9 @@ $(function() {
+
+
diff --git a/d6/d30/classmachine__learning_1_1adaline.html b/d6/d30/classmachine__learning_1_1adaline.html
index b855ade55..3a8974d4b 100644
--- a/d6/d30/classmachine__learning_1_1adaline.html
+++ b/d6/d30/classmachine__learning_1_1adaline.html
@@ -4,7 +4,7 @@
-
+
TheAlgorithms/C++: machine_learning::adaline Class Reference
@@ -19,7 +19,6 @@
-
@@ -60,26 +59,20 @@ window.MathJax = {
-
+
@@ -94,10 +87,9 @@ $(function() {
+
-
+
◆ activation()
@@ -309,9 +285,9 @@ Friends
-Returns true size matches
+Returns true size matches
-false size does not match
+false size does not match
Definition at line 196 of file adaline_learning.cpp .
196 {
@@ -487,7 +463,7 @@ template<size_t N>
predict the output of the model for given set of features
Parameters
[in] x input vector
- [out] out optional argument to return neuron output before applying activation function (optional, nullptr to ignore)
+ [out] out optional argument to return neuron output before applying activation function (optional, nullptr to ignore)
@@ -514,7 +490,7 @@ template<size_t N>
-
+
◆ operator<<
@@ -558,7 +534,7 @@ template<size_t N>
-
+
◆ accuracy
@@ -642,11 +618,19 @@ template<size_t N>
+
+
diff --git a/d6/d38/classstatistics_1_1stats__computer1__coll__graph.map b/d6/d38/classstatistics_1_1stats__computer1__coll__graph.map
index d184eb4c5..7bc0c153b 100644
--- a/d6/d38/classstatistics_1_1stats__computer1__coll__graph.map
+++ b/d6/d38/classstatistics_1_1stats__computer1__coll__graph.map
@@ -1,5 +1,5 @@
-
+
-
+
diff --git a/d6/d38/classstatistics_1_1stats__computer1__coll__graph.md5 b/d6/d38/classstatistics_1_1stats__computer1__coll__graph.md5
index 90bc37fe8..f0ff58b4c 100644
--- a/d6/d38/classstatistics_1_1stats__computer1__coll__graph.md5
+++ b/d6/d38/classstatistics_1_1stats__computer1__coll__graph.md5
@@ -1 +1 @@
-73678334911bca70a5e0aa3aa497f936
\ No newline at end of file
+474534c1dd5192be5c78239eab227ee0
\ No newline at end of file
diff --git a/d6/d38/classstatistics_1_1stats__computer1__coll__graph.svg b/d6/d38/classstatistics_1_1stats__computer1__coll__graph.svg
index d130e7284..5edf0e348 100644
--- a/d6/d38/classstatistics_1_1stats__computer1__coll__graph.svg
+++ b/d6/d38/classstatistics_1_1stats__computer1__coll__graph.svg
@@ -1,11 +1,11 @@
-
-
+
@@ -17,14 +17,14 @@
]]>
-
+
statistics::stats_computer1< T >
Node1
-statistics::stats_computer1< T >
+statistics::stats_computer1< T >
@@ -32,8 +32,8 @@
Node2
-
-T
+
+T
@@ -41,11 +41,11 @@
Node2->Node1
-
-
+
+
- K
+K
diff --git a/d6/d38/classstatistics_1_1stats__computer1__coll__graph_org.svg b/d6/d38/classstatistics_1_1stats__computer1__coll__graph_org.svg
index b8890b534..65fe3e60d 100644
--- a/d6/d38/classstatistics_1_1stats__computer1__coll__graph_org.svg
+++ b/d6/d38/classstatistics_1_1stats__computer1__coll__graph_org.svg
@@ -1,19 +1,19 @@
-
-
-
+
+
statistics::stats_computer1< T >
Node1
-statistics::stats_computer1< T >
+statistics::stats_computer1< T >
@@ -21,8 +21,8 @@
Node2
-
-T
+
+T
@@ -30,11 +30,11 @@
Node2->Node1
-
-
+
+
- K
+K
diff --git a/d6/d38/find__non__repeating__number_8cpp.html b/d6/d38/find__non__repeating__number_8cpp.html
index 34e7d64ea..3835c6e86 100644
--- a/d6/d38/find__non__repeating__number_8cpp.html
+++ b/d6/d38/find__non__repeating__number_8cpp.html
@@ -4,7 +4,7 @@
-
+
TheAlgorithms/C++: bit_manipulation/find_non_repeating_number.cpp File Reference
@@ -19,7 +19,6 @@
-
@@ -60,26 +59,20 @@ window.MathJax = {
-
+
@@ -94,10 +87,9 @@ $(function() {
+
@@ -136,40 +125,35 @@ $(function(){initNavTree('d6/d38/find__non__repeating__number_8cpp.html','../../
Go to the source code of this file.
-
+
Implementation to find the non repeating integer in an array of repeating integers. Single Number
Given an array of integers in which all of the numbers occur exactly twice except one integer which occurs only once. Find the non-repeating integer.
Worst Case Time Complexity: O(n) Space complexity: O(1)
Author Ravidev Pandey
Definition in file find_non_repeating_number.cpp .
-
+
◆ find_non_repeating_integer()
@@ -251,7 +235,7 @@ Functions
- static void test
+ void test
(
)
@@ -293,11 +277,19 @@ Functions
+
+
diff --git a/d6/d38/find__non__repeating__number_8cpp_source.html b/d6/d38/find__non__repeating__number_8cpp_source.html
index ffbd5baf4..4a198e9be 100644
--- a/d6/d38/find__non__repeating__number_8cpp_source.html
+++ b/d6/d38/find__non__repeating__number_8cpp_source.html
@@ -4,7 +4,7 @@
-
+
TheAlgorithms/C++: bit_manipulation/find_non_repeating_number.cpp Source File
@@ -19,7 +19,6 @@
-
@@ -60,26 +59,20 @@ window.MathJax = {
-
+
@@ -94,10 +87,9 @@ $(function() {
+
Functions to find the non repeating integer in an array of repeating integers. Single Number
+
diff --git a/d6/d38/newton__raphson__method_8cpp__incl.svg b/d6/d38/newton__raphson__method_8cpp__incl.svg
index 05254e244..5c108bb45 100644
--- a/d6/d38/newton__raphson__method_8cpp__incl.svg
+++ b/d6/d38/newton__raphson__method_8cpp__incl.svg
@@ -1,11 +1,11 @@
-
+ viewBox="0.00 0.00 301.00 94.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -24,8 +24,8 @@
Node1
-numerical_methods/newton
-_raphson_method.cpp
+numerical_methods/newton
+_raphson_method.cpp
@@ -34,7 +34,7 @@
Node2
-cmath
+cmath
@@ -52,7 +52,7 @@
Node3
-cstdint
+cstdint
@@ -70,7 +70,7 @@
Node4
-ctime
+ctime
@@ -88,7 +88,7 @@
Node5
-iostream
+iostream
@@ -106,7 +106,7 @@
Node6
-limits
+limits
diff --git a/d6/d38/newton__raphson__method_8cpp__incl_org.svg b/d6/d38/newton__raphson__method_8cpp__incl_org.svg
index 8923f3c90..b26a8cc47 100644
--- a/d6/d38/newton__raphson__method_8cpp__incl_org.svg
+++ b/d6/d38/newton__raphson__method_8cpp__incl_org.svg
@@ -1,11 +1,11 @@
-
+ viewBox="0.00 0.00 301.00 94.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
numerical_methods/newton_raphson_method.cpp
@@ -13,8 +13,8 @@
Node1
-numerical_methods/newton
-_raphson_method.cpp
+numerical_methods/newton
+_raphson_method.cpp
@@ -23,7 +23,7 @@
Node2
-cmath
+cmath
@@ -41,7 +41,7 @@
Node3
-cstdint
+cstdint
@@ -59,7 +59,7 @@
Node4
-ctime
+ctime
@@ -77,7 +77,7 @@
Node5
-iostream
+iostream
@@ -95,7 +95,7 @@
Node6
-limits
+limits
diff --git a/d6/d42/miller__rabin_8cpp.html b/d6/d42/miller__rabin_8cpp.html
index b43a18c81..0d63a2d4d 100644
--- a/d6/d42/miller__rabin_8cpp.html
+++ b/d6/d42/miller__rabin_8cpp.html
@@ -4,7 +4,7 @@
-
+
TheAlgorithms/C++: math/miller_rabin.cpp File Reference
@@ -19,7 +19,6 @@
-
@@ -60,26 +59,20 @@ window.MathJax = {
-
+
@@ -94,10 +87,9 @@ $(function() {
+
@@ -133,36 +123,30 @@ $(function(){initNavTree('d6/d42/miller__rabin_8cpp.html','../../'); initResizab
Go to the source code of this file.
-
+
Copyright 2020
Author tjgurwara99
A basic implementation of Miller-Rabin primality test.
Definition in file miller_rabin.cpp .
-
+
◆ main()
@@ -462,11 +446,19 @@ template<typename T>
+
+
diff --git a/d6/d42/miller__rabin_8cpp_source.html b/d6/d42/miller__rabin_8cpp_source.html
index 101cfaed8..9596917fc 100644
--- a/d6/d42/miller__rabin_8cpp_source.html
+++ b/d6/d42/miller__rabin_8cpp_source.html
@@ -4,7 +4,7 @@
-
+
TheAlgorithms/C++: math/miller_rabin.cpp Source File
@@ -19,7 +19,6 @@
-
@@ -60,26 +59,20 @@ window.MathJax = {
-
+
@@ -94,10 +87,9 @@ $(function() {
+
+
diff --git a/d6/d45/structciphers_1_1elliptic__curve__key__exchange_1_1_point.html b/d6/d45/structciphers_1_1elliptic__curve__key__exchange_1_1_point.html
index d82085233..114fb1db5 100644
--- a/d6/d45/structciphers_1_1elliptic__curve__key__exchange_1_1_point.html
+++ b/d6/d45/structciphers_1_1elliptic__curve__key__exchange_1_1_point.html
@@ -4,7 +4,7 @@
-
+
TheAlgorithms/C++: ciphers::elliptic_curve_key_exchange::Point Struct Reference
@@ -19,7 +19,6 @@
-
@@ -60,26 +59,20 @@ window.MathJax = {
-
+
@@ -94,10 +87,9 @@ $(function() {
+
@@ -135,34 +122,30 @@ $(function(){initNavTree('d6/d45/structciphers_1_1elliptic__curve__key__exchange
-
+
Definition of struct Point .
Definition of Point in the curve.
Definition at line 46 of file elliptic_curve_key_exchange.cpp .
-
+
◆ operator==()
@@ -202,7 +185,7 @@ Friends
-
+
◆ operator<<
@@ -248,7 +231,7 @@ Friends
-
+
@@ -286,11 +269,19 @@ Friends
+
+
diff --git a/d6/d47/classrange__queries_1_1per_seg_tree__coll__graph.map b/d6/d47/classrange__queries_1_1per_seg_tree__coll__graph.map
index a987cd5e6..9fd74a358 100644
--- a/d6/d47/classrange__queries_1_1per_seg_tree__coll__graph.map
+++ b/d6/d47/classrange__queries_1_1per_seg_tree__coll__graph.map
@@ -1,12 +1,12 @@
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
diff --git a/d6/d47/classrange__queries_1_1per_seg_tree__coll__graph.md5 b/d6/d47/classrange__queries_1_1per_seg_tree__coll__graph.md5
index 5cf135f7b..6711f8fbb 100644
--- a/d6/d47/classrange__queries_1_1per_seg_tree__coll__graph.md5
+++ b/d6/d47/classrange__queries_1_1per_seg_tree__coll__graph.md5
@@ -1 +1 @@
-d383430c7943689f9d46498de044199d
\ No newline at end of file
+5ae29588b5d05db6da1c5f3c7466f24c
\ No newline at end of file
diff --git a/d6/d47/classrange__queries_1_1per_seg_tree__coll__graph.svg b/d6/d47/classrange__queries_1_1per_seg_tree__coll__graph.svg
index 993c8da65..b39e56cf4 100644
--- a/d6/d47/classrange__queries_1_1per_seg_tree__coll__graph.svg
+++ b/d6/d47/classrange__queries_1_1per_seg_tree__coll__graph.svg
@@ -1,10 +1,10 @@
-
-
+
@@ -47,8 +47,8 @@
@@ -59,8 +59,8 @@ var sectionId = 'dynsection-0';
Node1
-
-range_queries::perSegTree
+
+range_queries::perSegTree
@@ -68,10 +68,10 @@ var sectionId = 'dynsection-0';
Node2
-
-std::vector< std::shared
-_ptr< range_queries::perSegTree
-::Node > >
+
+std::vector< std::shared
+_ptr< range_queries::perSegTree
+::Node > >
@@ -79,20 +79,20 @@ var sectionId = 'dynsection-0';
Node2->Node1
-
-
+
+
- ptrs
+ptrs
Node3
-
-std::shared_ptr< range
-_queries::perSegTree::
-Node >
+
+std::shared_ptr< range
+_queries::perSegTree::
+Node >
@@ -100,19 +100,19 @@ var sectionId = 'dynsection-0';
Node3->Node2
-
-
+
+
- elements
+elements
Node4
-
-range_queries::perSegTree
-::Node
+
+range_queries::perSegTree
+::Node
@@ -120,29 +120,29 @@ var sectionId = 'dynsection-0';
Node3->Node4
-
-
+
+
- left
-right
+left
+right
Node4->Node3
-
-
+
+
- ptr
+ptr
Node5
-
-std::vector< int64_t >
+
+std::vector< int64_t >
@@ -150,11 +150,11 @@ var sectionId = 'dynsection-0';
Node5->Node1
-
-
+
+
- vec
+vec
diff --git a/d6/d47/classrange__queries_1_1per_seg_tree__coll__graph_org.svg b/d6/d47/classrange__queries_1_1per_seg_tree__coll__graph_org.svg
index 9f9babc44..3c07b5967 100644
--- a/d6/d47/classrange__queries_1_1per_seg_tree__coll__graph_org.svg
+++ b/d6/d47/classrange__queries_1_1per_seg_tree__coll__graph_org.svg
@@ -1,19 +1,19 @@
-
-
-
+
+
range_queries::perSegTree
Node1
-
-range_queries::perSegTree
+
+range_queries::perSegTree
@@ -21,10 +21,10 @@
Node2
-
-std::vector< std::shared
-_ptr< range_queries::perSegTree
-::Node > >
+
+std::vector< std::shared
+_ptr< range_queries::perSegTree
+::Node > >
@@ -32,20 +32,20 @@
Node2->Node1
-
-
+
+
- ptrs
+ptrs
Node3
-
-std::shared_ptr< range
-_queries::perSegTree::
-Node >
+
+std::shared_ptr< range
+_queries::perSegTree::
+Node >
@@ -53,19 +53,19 @@
Node3->Node2
-
-
+
+
- elements
+elements
Node4
-
-range_queries::perSegTree
-::Node
+
+range_queries::perSegTree
+::Node
@@ -73,29 +73,29 @@
Node3->Node4
-
-
+
+
- left
-right
+left
+right
Node4->Node3
-
-
+
+
- ptr
+ptr
Node5
-
-std::vector< int64_t >
+
+std::vector< int64_t >
@@ -103,11 +103,11 @@
Node5->Node1
-
-
+
+
- vec
+vec
diff --git a/d6/d4a/addition__rule_8cpp.html b/d6/d4a/addition__rule_8cpp.html
index baa3998a7..d31079bc9 100644
--- a/d6/d4a/addition__rule_8cpp.html
+++ b/d6/d4a/addition__rule_8cpp.html
@@ -4,7 +4,7 @@
-
+
TheAlgorithms/C++: probability/addition_rule.cpp File Reference
@@ -19,7 +19,6 @@
-
@@ -60,26 +59,20 @@ window.MathJax = {
-
+
@@ -94,10 +87,9 @@ $(function() {
+
◆ addition_rule_dependent()
@@ -248,11 +235,19 @@ Functions
+
+
diff --git a/d6/d4a/addition__rule_8cpp_source.html b/d6/d4a/addition__rule_8cpp_source.html
index a008e5fab..be57424f1 100644
--- a/d6/d4a/addition__rule_8cpp_source.html
+++ b/d6/d4a/addition__rule_8cpp_source.html
@@ -4,7 +4,7 @@
-
+
TheAlgorithms/C++: probability/addition_rule.cpp Source File
@@ -19,7 +19,6 @@
-
@@ -60,26 +59,20 @@ window.MathJax = {
-
+
@@ -94,10 +87,9 @@ $(function() {
+
+
diff --git a/d6/d4b/hamming__distance_8cpp__incl.svg b/d6/d4b/hamming__distance_8cpp__incl.svg
index 2b5f79f50..bdc0bd508 100644
--- a/d6/d4b/hamming__distance_8cpp__incl.svg
+++ b/d6/d4b/hamming__distance_8cpp__incl.svg
@@ -1,11 +1,11 @@
-
+ viewBox="0.00 0.00 191.00 94.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -24,8 +24,8 @@
Node1
-bit_manipulation/hamming
-_distance.cpp
+bit_manipulation/hamming
+_distance.cpp
@@ -34,7 +34,7 @@
Node2
-cassert
+cassert
@@ -52,7 +52,7 @@
Node3
-cstdint
+cstdint
@@ -70,7 +70,7 @@
Node4
-iostream
+iostream
diff --git a/d6/d4b/hamming__distance_8cpp__incl_org.svg b/d6/d4b/hamming__distance_8cpp__incl_org.svg
index 578591502..975599523 100644
--- a/d6/d4b/hamming__distance_8cpp__incl_org.svg
+++ b/d6/d4b/hamming__distance_8cpp__incl_org.svg
@@ -1,11 +1,11 @@
-
+ viewBox="0.00 0.00 191.00 94.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
bit_manipulation/hamming_distance.cpp
@@ -13,8 +13,8 @@
Node1
-bit_manipulation/hamming
-_distance.cpp
+bit_manipulation/hamming
+_distance.cpp
@@ -23,7 +23,7 @@
Node2
-cassert
+cassert
@@ -41,7 +41,7 @@
Node3
-cstdint
+cstdint
@@ -59,7 +59,7 @@
Node4
-iostream
+iostream
diff --git a/d6/d4c/gcd__recursive__euclidean_8cpp__incl.svg b/d6/d4c/gcd__recursive__euclidean_8cpp__incl.svg
index 0d595661f..47db6c119 100644
--- a/d6/d4c/gcd__recursive__euclidean_8cpp__incl.svg
+++ b/d6/d4c/gcd__recursive__euclidean_8cpp__incl.svg
@@ -1,11 +1,11 @@
-
+ viewBox="0.00 0.00 110.00 94.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -24,8 +24,8 @@
Node1
-math/gcd_recursive
-_euclidean.cpp
+math/gcd_recursive
+_euclidean.cpp
@@ -34,7 +34,7 @@
Node2
-iostream
+iostream
diff --git a/d6/d4c/gcd__recursive__euclidean_8cpp__incl_org.svg b/d6/d4c/gcd__recursive__euclidean_8cpp__incl_org.svg
index c4f0c59b9..35d48fa6a 100644
--- a/d6/d4c/gcd__recursive__euclidean_8cpp__incl_org.svg
+++ b/d6/d4c/gcd__recursive__euclidean_8cpp__incl_org.svg
@@ -1,11 +1,11 @@
-
+ viewBox="0.00 0.00 110.00 94.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
math/gcd_recursive_euclidean.cpp
@@ -13,8 +13,8 @@
Node1
-math/gcd_recursive
-_euclidean.cpp
+math/gcd_recursive
+_euclidean.cpp
@@ -23,7 +23,7 @@
Node2
-iostream
+iostream
diff --git a/d6/d4e/easter_8cpp_source.html b/d6/d4e/easter_8cpp_source.html
index ace7ea5db..d0a4381dc 100644
--- a/d6/d4e/easter_8cpp_source.html
+++ b/d6/d4e/easter_8cpp_source.html
@@ -4,7 +4,7 @@
-
+
TheAlgorithms/C++: others/easter.cpp Source File
@@ -19,7 +19,6 @@
-
@@ -60,26 +59,20 @@ window.MathJax = {
-
+
@@ -94,10 +87,9 @@ $(function() {
+
+
diff --git a/d6/d4e/namespaceciphers.html b/d6/d4e/namespaceciphers.html
index cd3f4ac1c..9d0cb9107 100644
--- a/d6/d4e/namespaceciphers.html
+++ b/d6/d4e/namespaceciphers.html
@@ -4,7 +4,7 @@
-
+
TheAlgorithms/C++: ciphers Namespace Reference
@@ -19,7 +19,6 @@
-
@@ -60,26 +59,20 @@ window.MathJax = {
-
+
@@ -94,10 +87,9 @@ $(function() {
+
@@ -132,24 +120,21 @@ $(function(){initNavTree('d6/d4e/namespaceciphers.html','../../'); initResizable
Algorithms for encryption and decryption.
More...
-
+
Algorithms for encryption and decryption.
for IO operations
Base64 Encoding and Decoding
@@ -157,11 +142,11 @@ Variables
for std::transform and std::replace for assert for uint8_t for IO operations for std::map for std::stringstream for std::string for std::vector
for assert for IO operations for std::map
Algorithms for encryption and decryption
-
In programming, Base64 is a group of binary-to-text encoding schemes that represent binary data (more specifically, a sequence of 8-bit bytes) in an ASCII string format by translating the data into a radix-64 representation. The term Base64 originates from a specific MIME content transfer encoding. Each non-final Base64 digit represents exactly 6 bits of data. Three 8-bit bytes (i.e., a total of 24 bits) can therefore be represented by four 6-bit Base64 digits.
Author Ashish Daulatabad for std::array for assert operations for IO operations
+
In programming, Base64 is a group of binary-to-text encoding schemes that represent binary data (more specifically, a sequence of 8-bit bytes) in an ASCII string format by translating the data into a radix-64 representation. The term Base64 originates from a specific MIME content transfer encoding. Each non-final Base64 digit represents exactly 6 bits of data. Three 8-bit bytes (i.e., a total of 24 bits) can therefore be represented by four 6-bit Base64 digits.
Author Ashish Daulatabad for std::array for assert operations for IO operations
Cipher algorithms
for assert for 256-bit integer
Cipher algorithms
-
+
◆ STRKEY
@@ -192,11 +177,19 @@ Variables
+
+
diff --git a/d6/d50/_2_users_2runner_2work_2_c-_plus-_plus_2_c-_plus-_plus_2math_2iterative_factorial_8cpp-example.html b/d6/d50/_2_users_2runner_2work_2_c-_plus-_plus_2_c-_plus-_plus_2math_2iterative_factorial_8cpp-example.html
index 5b751434e..dac1264bd 100644
--- a/d6/d50/_2_users_2runner_2work_2_c-_plus-_plus_2_c-_plus-_plus_2math_2iterative_factorial_8cpp-example.html
+++ b/d6/d50/_2_users_2runner_2work_2_c-_plus-_plus_2_c-_plus-_plus_2math_2iterative_factorial_8cpp-example.html
@@ -4,7 +4,7 @@
-
+
TheAlgorithms/C++: /Users/runner/work/C-Plus-Plus/C-Plus-Plus/math/iterative_factorial.cpp
@@ -19,7 +19,6 @@
-
@@ -60,26 +59,20 @@ window.MathJax = {
-
+
@@ -94,10 +87,9 @@ $(function() {
+
uint64_t iterativeFactorial(uint8_t n)
Calculates the factorial iteratively.
+
diff --git a/d6/d53/namespaceword__break.html b/d6/d53/namespaceword__break.html
index 176c57c2a..c33aae4de 100644
--- a/d6/d53/namespaceword__break.html
+++ b/d6/d53/namespaceword__break.html
@@ -4,7 +4,7 @@
-
+
TheAlgorithms/C++: word_break Namespace Reference
@@ -19,7 +19,6 @@
-
@@ -60,26 +59,20 @@ window.MathJax = {
-
+
@@ -94,10 +87,9 @@ $(function() {
+
diff --git a/d6/d57/array__right__rotation_8cpp.html b/d6/d57/array__right__rotation_8cpp.html
index 3f2be9249..f77d112dd 100644
--- a/d6/d57/array__right__rotation_8cpp.html
+++ b/d6/d57/array__right__rotation_8cpp.html
@@ -4,7 +4,7 @@
-
+
TheAlgorithms/C++: operations_on_datastructures/array_right_rotation.cpp File Reference
@@ -19,7 +19,6 @@
-
@@ -60,26 +59,20 @@ window.MathJax = {
-
+
@@ -94,10 +87,9 @@ $(function() {
+
◆ main()
@@ -230,7 +206,7 @@ Functions
- static void test
+ void test
(
)
@@ -264,11 +240,19 @@ Functions
+
+
diff --git a/d6/d57/array__right__rotation_8cpp_source.html b/d6/d57/array__right__rotation_8cpp_source.html
index 93c750cfe..a53c59be3 100644
--- a/d6/d57/array__right__rotation_8cpp_source.html
+++ b/d6/d57/array__right__rotation_8cpp_source.html
@@ -4,7 +4,7 @@
-
+
TheAlgorithms/C++: operations_on_datastructures/array_right_rotation.cpp Source File
@@ -19,7 +19,6 @@
-
@@ -60,26 +59,20 @@ window.MathJax = {
-
+
@@ -94,10 +87,9 @@ $(function() {
+
void test5()
A Test to check a shift of zero.
+
diff --git a/d6/d5c/travelling__salesman__problem_8cpp__incl.svg b/d6/d5c/travelling__salesman__problem_8cpp__incl.svg
index 28f953a5e..5f43a8fd1 100644
--- a/d6/d5c/travelling__salesman__problem_8cpp__incl.svg
+++ b/d6/d5c/travelling__salesman__problem_8cpp__incl.svg
@@ -1,11 +1,11 @@
-
+ viewBox="0.00 0.00 382.00 94.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -24,8 +24,8 @@
Node1
-graph/travelling_salesman
-_problem.cpp
+graph/travelling_salesman
+_problem.cpp
@@ -34,7 +34,7 @@
Node2
-algorithm
+algorithm
@@ -52,7 +52,7 @@
Node3
-cassert
+cassert
@@ -70,7 +70,7 @@
Node4
-cstdint
+cstdint
@@ -88,7 +88,7 @@
Node5
-iostream
+iostream
@@ -106,7 +106,7 @@
Node6
-limits
+limits
@@ -124,7 +124,7 @@
Node7
-vector
+vector
diff --git a/d6/d5c/travelling__salesman__problem_8cpp__incl_org.svg b/d6/d5c/travelling__salesman__problem_8cpp__incl_org.svg
index ecd30fdc4..13a741897 100644
--- a/d6/d5c/travelling__salesman__problem_8cpp__incl_org.svg
+++ b/d6/d5c/travelling__salesman__problem_8cpp__incl_org.svg
@@ -1,11 +1,11 @@
-
+ viewBox="0.00 0.00 382.00 94.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
graph/travelling_salesman_problem.cpp
@@ -13,8 +13,8 @@
Node1
-graph/travelling_salesman
-_problem.cpp
+graph/travelling_salesman
+_problem.cpp
@@ -23,7 +23,7 @@
Node2
-algorithm
+algorithm
@@ -41,7 +41,7 @@
Node3
-cassert
+cassert
@@ -59,7 +59,7 @@
Node4
-cstdint
+cstdint
@@ -77,7 +77,7 @@
Node5
-iostream
+iostream
@@ -95,7 +95,7 @@
Node6
-limits
+limits
@@ -113,7 +113,7 @@
Node7
-vector
+vector
diff --git a/d6/d60/group__ode.html b/d6/d60/group__ode.html
index f5d5b8aae..58cb87472 100644
--- a/d6/d60/group__ode.html
+++ b/d6/d60/group__ode.html
@@ -4,7 +4,7 @@
-
+
TheAlgorithms/C++: Ordinary Differential Equations
@@ -19,7 +19,6 @@
-
@@ -60,26 +59,20 @@ window.MathJax = {
-
+
@@ -94,10 +87,9 @@ $(function() {
+
-
+
Integration functions for implementations with solving ordinary differential equations (ODEs) of any order and and any number of independent variables.
-
+
◆ forward_euler()
@@ -589,10 +573,18 @@ y_n + \frac{1}{2}dx\,f\left(x_n,y_n\right)\right)\]
+
+
diff --git a/d6/d74/library__sort_8cpp_source.html b/d6/d74/library__sort_8cpp_source.html
index 5dac831b6..afa65c932 100644
--- a/d6/d74/library__sort_8cpp_source.html
+++ b/d6/d74/library__sort_8cpp_source.html
@@ -4,7 +4,7 @@
-
+
TheAlgorithms/C++: sorting/library_sort.cpp Source File
@@ -19,7 +19,6 @@
-
@@ -60,26 +59,20 @@ window.MathJax = {
-
+
@@ -94,10 +87,9 @@ $(function() {
+
+
diff --git a/d6/d74/namespacekadane.html b/d6/d74/namespacekadane.html
index d811a9501..00fc65534 100644
--- a/d6/d74/namespacekadane.html
+++ b/d6/d74/namespacekadane.html
@@ -4,7 +4,7 @@
-
+
TheAlgorithms/C++: kadane Namespace Reference
@@ -19,7 +19,6 @@
-
@@ -60,26 +59,20 @@ window.MathJax = {
-
+
@@ -94,10 +87,9 @@ $(function() {
+
diff --git a/d6/d75/catalan__numbers_8cpp__incl.svg b/d6/d75/catalan__numbers_8cpp__incl.svg
index 190390297..d5194c4a6 100644
--- a/d6/d75/catalan__numbers_8cpp__incl.svg
+++ b/d6/d75/catalan__numbers_8cpp__incl.svg
@@ -1,11 +1,11 @@
-
+ viewBox="0.00 0.00 388.00 94.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -24,8 +24,8 @@
Node1
-dynamic_programming
-/catalan_numbers.cpp
+dynamic_programming
+/catalan_numbers.cpp
@@ -34,7 +34,7 @@
Node2
-cassert
+cassert
@@ -52,7 +52,7 @@
Node3
-cstdint
+cstdint
@@ -70,7 +70,7 @@
Node4
-cstdlib
+cstdlib
@@ -88,7 +88,7 @@
Node5
-functional
+functional
@@ -106,7 +106,7 @@
Node6
-numeric
+numeric
@@ -124,7 +124,7 @@
Node7
-vector
+vector
diff --git a/d6/d75/catalan__numbers_8cpp__incl_org.svg b/d6/d75/catalan__numbers_8cpp__incl_org.svg
index 783c25dd8..dc6c093fb 100644
--- a/d6/d75/catalan__numbers_8cpp__incl_org.svg
+++ b/d6/d75/catalan__numbers_8cpp__incl_org.svg
@@ -1,11 +1,11 @@
-
+ viewBox="0.00 0.00 388.00 94.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
dynamic_programming/catalan_numbers.cpp
@@ -13,8 +13,8 @@
Node1
-dynamic_programming
-/catalan_numbers.cpp
+dynamic_programming
+/catalan_numbers.cpp
@@ -23,7 +23,7 @@
Node2
-cassert
+cassert
@@ -41,7 +41,7 @@
Node3
-cstdint
+cstdint
@@ -59,7 +59,7 @@
Node4
-cstdlib
+cstdlib
@@ -77,7 +77,7 @@
Node5
-functional
+functional
@@ -95,7 +95,7 @@
Node6
-numeric
+numeric
@@ -113,7 +113,7 @@
Node7
-vector
+vector
diff --git a/d6/d7a/golden__search__extrema_8cpp.html b/d6/d7a/golden__search__extrema_8cpp.html
index 3895aff66..18677535b 100644
--- a/d6/d7a/golden__search__extrema_8cpp.html
+++ b/d6/d7a/golden__search__extrema_8cpp.html
@@ -4,7 +4,7 @@
-
+
TheAlgorithms/C++: numerical_methods/golden_search_extrema.cpp File Reference
@@ -19,7 +19,6 @@
-
@@ -60,26 +59,20 @@ window.MathJax = {
-
+
@@ -94,10 +87,9 @@ $(function() {
+
◆ _USE_MATH_DEFINES
@@ -213,7 +195,7 @@ Functions