From 67d95bf85f68276baa7e69e96d7d4222e2629500 Mon Sep 17 00:00:00 2001 From: realstealthninja Date: Thu, 14 Aug 2025 01:46:15 +0000 Subject: [PATCH] Documentation for 3f0409d7cc0791a2d7acaeaa98244824a4f114de --- d0/d04/qr__decompose_8h__incl.svg | 2 +- d0/d04/qr__decompose_8h__incl_org.svg | 2 +- .../fast__fourier__transform_8cpp__incl.svg | 2 +- ...ast__fourier__transform_8cpp__incl_org.svg | 2 +- d0/d1f/structnode__coll__graph.svg | 2 +- d0/d1f/structnode__coll__graph_org.svg | 2 +- ...lassgraph_1_1_rooted_tree__coll__graph.svg | 2 +- ...graph_1_1_rooted_tree__coll__graph_org.svg | 2 +- d0/d2c/class_r_btree__coll__graph.svg | 2 +- d0/d2c/class_r_btree__coll__graph_org.svg | 2 +- ...ecomposition_1_1_h_l_d__inherit__graph.svg | 2 +- ...position_1_1_h_l_d__inherit__graph_org.svg | 2 +- ...__for__fast__multiplication_8cpp__incl.svg | 2 +- ...r__fast__multiplication_8cpp__incl_org.svg | 2 +- ..._1_1linked__list_1_1_node__coll__graph.svg | 2 +- ...linked__list_1_1_node__coll__graph_org.svg | 2 +- d0/d3c/classvector__coll__graph.svg | 2 +- d0/d3c/classvector__coll__graph_org.svg | 2 +- ...tree__traversals_1_1_node__coll__graph.svg | 2 +- ...__traversals_1_1_node__coll__graph_org.svg | 2 +- d0/d52/duval_8cpp__incl.svg | 2 +- d0/d52/duval_8cpp__incl_org.svg | 2 +- d0/d59/uint256__t_8hpp__dep__incl.svg | 2 +- d0/d59/uint256__t_8hpp__dep__incl_org.svg | 2 +- d0/d5b/windowed__median_8cpp__incl.svg | 2 +- d0/d5b/windowed__median_8cpp__incl_org.svg | 2 +- d0/d5e/exponential__dist_8cpp__incl.svg | 2 +- d0/d5e/exponential__dist_8cpp__incl_org.svg | 2 +- ...ratic__probing__hash__table_8cpp__incl.svg | 2 +- ...c__probing__hash__table_8cpp__incl_org.svg | 2 +- d0/d76/binary__insertion__sort_8cpp__incl.svg | 2 +- ...binary__insertion__sort_8cpp__incl_org.svg | 2 +- d0/d77/linear__search_8cpp__incl.svg | 2 +- d0/d77/linear__search_8cpp__incl_org.svg | 2 +- d0/d83/n__queens_8cpp__incl.svg | 2 +- d0/d83/n__queens_8cpp__incl_org.svg | 2 +- d0/da1/string__fibonacci_8cpp__incl.svg | 2 +- d0/da1/string__fibonacci_8cpp__incl_org.svg | 2 +- d0/db1/check__factorial_8cpp__incl.svg | 2 +- d0/db1/check__factorial_8cpp__incl_org.svg | 2 +- d0/db5/trie__modern_8cpp__incl.svg | 2 +- d0/db5/trie__modern_8cpp__incl_org.svg | 2 +- d0/db7/smallest__circle_8cpp__incl.svg | 2 +- d0/db7/smallest__circle_8cpp__incl_org.svg | 2 +- ...tersection__of__two__arrays_8cpp__incl.svg | 2 +- ...ection__of__two__arrays_8cpp__incl_org.svg | 2 +- d0/dcc/modular__division_8cpp__incl.svg | 2 +- d0/dcc/modular__division_8cpp__incl_org.svg | 2 +- .../successive__approximation_8cpp__incl.svg | 2 +- ...ccessive__approximation_8cpp__incl_org.svg | 2 +- d0/dd1/binaryheap_8cpp__incl.svg | 2 +- d0/dd1/binaryheap_8cpp__incl_org.svg | 2 +- d0/dd3/modular__exponentiation_8cpp__incl.svg | 2 +- ...modular__exponentiation_8cpp__incl_org.svg | 2 +- d0/dd5/ode__midpoint__euler_8cpp__incl.svg | 2 +- .../ode__midpoint__euler_8cpp__incl_org.svg | 2 +- ...k__using__queue_1_1_stack__coll__graph.svg | 2 +- ...sing__queue_1_1_stack__coll__graph_org.svg | 2 +- d0/df1/z__function_8cpp__incl.svg | 2 +- d0/df1/z__function_8cpp__incl_org.svg | 2 +- d0/dfc/sqrt__double_8cpp__incl.svg | 2 +- d0/dfc/sqrt__double_8cpp__incl_org.svg | 2 +- ..._first__search__with__stack_8cpp__incl.svg | 2 +- ...st__search__with__stack_8cpp__incl_org.svg | 2 +- ...__search_1_1_eight_puzzle__coll__graph.svg | 2 +- ...arch_1_1_eight_puzzle__coll__graph_org.svg | 2 +- d1/d06/ternary__search_8cpp__incl.svg | 2 +- d1/d06/ternary__search_8cpp__incl_org.svg | 2 +- ...s_1_1linked__list_1_1list__coll__graph.svg | 2 +- ...1linked__list_1_1list__coll__graph_org.svg | 2 +- d1/d1c/base64__encoding_8cpp_source.html | 293 +++++++++--------- d1/d1d/pascal__triangle_8cpp__incl.svg | 2 +- d1/d1d/pascal__triangle_8cpp__incl_org.svg | 2 +- d1/d33/caesar__cipher_8cpp__incl.svg | 2 +- d1/d33/caesar__cipher_8cpp__incl_org.svg | 2 +- .../queue__using__two__stacks_8cpp__incl.svg | 2 +- ...eue__using__two__stacks_8cpp__incl_org.svg | 2 +- ...st__increasing__subsequence_8cpp__incl.svg | 2 +- ...increasing__subsequence_8cpp__incl_org.svg | 2 +- ...__of__digits__in__a__number_8cpp__incl.svg | 2 +- ...__digits__in__a__number_8cpp__incl_org.svg | 2 +- ...__least__squares__regressor_8cpp__incl.svg | 2 +- ...ast__squares__regressor_8cpp__incl_org.svg | 2 +- d1/d52/lcm__sum_8cpp__incl.svg | 2 +- d1/d52/lcm__sum_8cpp__incl_org.svg | 2 +- d1/d57/classcll__coll__graph.svg | 2 +- d1/d57/classcll__coll__graph_org.svg | 2 +- ...ic_3_01uint256__t_01_4__inherit__graph.svg | 2 +- ..._01uint256__t_01_4__inherit__graph_org.svg | 2 +- ...ht__decomposition_1_1_s_g__coll__graph.svg | 2 +- ...decomposition_1_1_s_g__coll__graph_org.svg | 2 +- d1/d6c/classstats__computer1__coll__graph.svg | 2 +- ...classstats__computer1__coll__graph_org.svg | 2 +- d1/d6d/lru__cache_8cpp__incl.svg | 2 +- d1/d6d/lru__cache_8cpp__incl_org.svg | 2 +- d1/d6d/queue__using__array_8cpp__incl.svg | 2 +- d1/d6d/queue__using__array_8cpp__incl_org.svg | 2 +- d1/d6f/vector__ops_8hpp__dep__incl.svg | 2 +- d1/d6f/vector__ops_8hpp__dep__incl_org.svg | 2 +- ..._1_lowest_common_ancestor__coll__graph.svg | 2 +- ...owest_common_ancestor__coll__graph_org.svg | 2 +- d1/d73/jarvis__algorithm_8cpp__incl.svg | 2 +- d1/d73/jarvis__algorithm_8cpp__incl_org.svg | 2 +- d1/d7d/gcd__of__n__numbers_8cpp__incl.svg | 2 +- d1/d7d/gcd__of__n__numbers_8cpp__incl_org.svg | 2 +- .../unbounded__0__1__knapsack_8cpp__incl.svg | 2 +- ...bounded__0__1__knapsack_8cpp__incl_org.svg | 2 +- d1/d90/subarray__sum_8cpp__incl.svg | 2 +- d1/d90/subarray__sum_8cpp__incl_org.svg | 2 +- .../decimal__to__hexadecimal_8cpp__incl.svg | 2 +- ...ecimal__to__hexadecimal_8cpp__incl_org.svg | 2 +- ...egral_3_01uint128__t_01_4__coll__graph.svg | 2 +- ...l_3_01uint128__t_01_4__coll__graph_org.svg | 2 +- d1/db6/boyer__moore_8cpp__incl.svg | 2 +- d1/db6/boyer__moore_8cpp__incl_org.svg | 2 +- ...1_1_cache_1_1_l_r_u_cache__coll__graph.svg | 2 +- ...cache_1_1_l_r_u_cache__coll__graph_org.svg | 2 +- d1/dbb/k__nearest__neighbors_8cpp__incl.svg | 2 +- .../k__nearest__neighbors_8cpp__incl_org.svg | 2 +- ...__ciphers__in__factorial__n_8cpp__incl.svg | 2 +- ...phers__in__factorial__n_8cpp__incl_org.svg | 2 +- d1/dc2/class_graph__coll__graph.svg | 2 +- d1/dc2/class_graph__coll__graph_org.svg | 2 +- d1/dc5/classlarge__number__coll__graph.svg | 2 +- .../classlarge__number__coll__graph_org.svg | 2 +- d1/dce/classuint256__t__coll__graph.svg | 2 +- d1/dce/classuint256__t__coll__graph_org.svg | 2 +- d1/dd7/union__of__two__arrays_8cpp__incl.svg | 2 +- .../union__of__two__arrays_8cpp__incl_org.svg | 2 +- ...hashmap_1_1_trie_1_1_node__coll__graph.svg | 2 +- ...map_1_1_trie_1_1_node__coll__graph_org.svg | 2 +- ..._decomposition_1_1_s_g__inherit__graph.svg | 2 +- ...omposition_1_1_s_g__inherit__graph_org.svg | 2 +- ..._1_1generate__parentheses__coll__graph.svg | 2 +- ...generate__parentheses__coll__graph_org.svg | 2 +- d1/df6/bidirectional__dijkstra_8cpp__incl.svg | 2 +- ...bidirectional__dijkstra_8cpp__incl_org.svg | 2 +- d1/df9/qr__decomposition_8cpp__incl.svg | 2 +- d1/df9/qr__decomposition_8cpp__incl_org.svg | 2 +- d2/d1a/vigenere__cipher_8cpp__incl.svg | 2 +- d2/d1a/vigenere__cipher_8cpp__incl_org.svg | 2 +- d2/d23/neural__network_8cpp__incl.svg | 2 +- d2/d23/neural__network_8cpp__incl_org.svg | 2 +- d2/d26/addition__rule_8cpp__incl.svg | 2 +- d2/d26/addition__rule_8cpp__incl_org.svg | 2 +- d2/d27/approximate__pi_8cpp__incl.svg | 2 +- d2/d27/approximate__pi_8cpp__incl_org.svg | 2 +- d2/d2c/segment__tree_8cpp__incl.svg | 2 +- d2/d2c/segment__tree_8cpp__incl_org.svg | 2 +- d2/d38/pancake__sort_8cpp__incl.svg | 2 +- d2/d38/pancake__sort_8cpp__incl_org.svg | 2 +- .../insertion__sort__recursive_8cpp__incl.svg | 2 +- ...ertion__sort__recursive_8cpp__incl_org.svg | 2 +- d2/d4b/spirograph_8cpp__incl.svg | 2 +- d2/d4b/spirograph_8cpp__incl_org.svg | 2 +- d2/d53/circular__linked__list_8cpp__incl.svg | 2 +- .../circular__linked__list_8cpp__incl_org.svg | 2 +- d2/d5f/merge__sort_8cpp__incl.svg | 2 +- d2/d5f/merge__sort_8cpp__incl_org.svg | 2 +- d2/d68/longest__common__string_8cpp__incl.svg | 2 +- ...longest__common__string_8cpp__incl_org.svg | 2 +- d2/d73/word__break_8cpp__incl.svg | 2 +- d2/d73/word__break_8cpp__incl_org.svg | 2 +- d2/d76/prefix__sum__array_8cpp__incl.svg | 2 +- d2/d76/prefix__sum__array_8cpp__incl_org.svg | 2 +- d2/d77/classadaline__coll__graph.svg | 2 +- d2/d77/classadaline__coll__graph_org.svg | 2 +- ...iptic__curve__key__exchange_8cpp__incl.svg | 2 +- ...c__curve__key__exchange_8cpp__incl_org.svg | 2 +- ...tent__seg__tree__lazy__prop_8cpp__incl.svg | 2 +- ...__seg__tree__lazy__prop_8cpp__incl_org.svg | 2 +- d2/d89/median__search_8cpp__incl.svg | 2 +- d2/d89/median__search_8cpp__incl_org.svg | 2 +- ...edian_1_1_windowed_median__coll__graph.svg | 2 +- ...n_1_1_windowed_median__coll__graph_org.svg | 2 +- ...aversal__of__bst_1_1_node__coll__graph.svg | 2 +- ...sal__of__bst_1_1_node__coll__graph_org.svg | 2 +- ...ctures_1_1treap_1_1_treap__coll__graph.svg | 2 +- ...es_1_1treap_1_1_treap__coll__graph_org.svg | 2 +- ...preemptive__sjf__scheduling_8cpp__incl.svg | 2 +- ...mptive__sjf__scheduling_8cpp__incl_org.svg | 2 +- ...rmstrong__number__templated_8cpp__incl.svg | 2 +- ...rong__number__templated_8cpp__incl_org.svg | 2 +- d2/ddd/gaussian__elimination_8cpp__incl.svg | 2 +- .../gaussian__elimination_8cpp__incl_org.svg | 2 +- ...maximum__circular__subarray_8cpp__incl.svg | 2 +- ...mum__circular__subarray_8cpp__incl_org.svg | 2 +- d2/def/prime__factorization_8cpp__incl.svg | 2 +- .../prime__factorization_8cpp__incl_org.svg | 2 +- d2/df0/kelvin__to__celsius_8cpp__incl.svg | 2 +- d2/df0/kelvin__to__celsius_8cpp__incl_org.svg | 2 +- ...ata__structures_1_1_stack__coll__graph.svg | 2 +- ..._structures_1_1_stack__coll__graph_org.svg | 2 +- d3/d1a/hill__cipher_8cpp__incl.svg | 2 +- d3/d1a/hill__cipher_8cpp__incl_org.svg | 2 +- ...se__fermat__little__theorem_8cpp__incl.svg | 2 +- ...fermat__little__theorem_8cpp__incl_org.svg | 2 +- d3/d28/wiggle__sort_8cpp__incl.svg | 2 +- d3/d28/wiggle__sort_8cpp__incl_org.svg | 2 +- d3/d30/hash__search_8cpp__incl.svg | 2 +- d3/d30/hash__search_8cpp__incl_org.svg | 2 +- d3/d39/check__prime_8cpp__incl.svg | 2 +- d3/d39/check__prime_8cpp__incl_org.svg | 2 +- d3/d3d/complex__numbers_8cpp__incl.svg | 2 +- d3/d3d/complex__numbers_8cpp__incl_org.svg | 2 +- d3/d4c/sha1_8cpp__incl.svg | 2 +- d3/d4c/sha1_8cpp__incl_org.svg | 2 +- d3/d56/binomial__dist_8cpp__incl.svg | 2 +- d3/d56/binomial__dist_8cpp__incl_org.svg | 2 +- ...1_1layers_1_1_dense_layer__coll__graph.svg | 2 +- ...ayers_1_1_dense_layer__coll__graph_org.svg | 2 +- d3/d66/structlinkedlist__coll__graph.svg | 2 +- d3/d66/structlinkedlist__coll__graph_org.svg | 2 +- ...oyd__cycle__detection__algo_8cpp__incl.svg | 2 +- ..._cycle__detection__algo_8cpp__incl_org.svg | 2 +- ...classbinary__search__tree__coll__graph.svg | 2 +- ...sbinary__search__tree__coll__graph_org.svg | 2 +- ...__table_1_1_sparse__table__coll__graph.svg | 2 +- ...ble_1_1_sparse__table__coll__graph_org.svg | 2 +- d3/daf/stooge__sort_8cpp__incl.svg | 2 +- d3/daf/stooge__sort_8cpp__incl_org.svg | 2 +- d3/dbb/kadanes3_8cpp__incl.svg | 2 +- d3/dbb/kadanes3_8cpp__incl_org.svg | 2 +- d3/dbe/comb__sort_8cpp__incl.svg | 2 +- d3/dbe/comb__sort_8cpp__incl_org.svg | 2 +- ...ind__non__repeating__number_8cpp__incl.svg | 2 +- ..._non__repeating__number_8cpp__incl_org.svg | 2 +- d3/dcc/count__bits__flip_8cpp__incl.svg | 2 +- d3/dcc/count__bits__flip_8cpp__incl_org.svg | 2 +- d3/df9/recursive__bubble__sort_8cpp.html | 109 ++++--- .../recursive__bubble__sort_8cpp_source.html | 159 +++++----- d3/dfd/trie__using__hashmap_8cpp__incl.svg | 2 +- .../trie__using__hashmap_8cpp__incl_org.svg | 2 +- d4/d00/iterative__factorial_8cpp__incl.svg | 2 +- .../iterative__factorial_8cpp__incl_org.svg | 2 +- d4/d08/babylonian__method_8cpp__incl.svg | 2 +- d4/d08/babylonian__method_8cpp__incl_org.svg | 2 +- d4/d0c/binary__search__tree_8cpp__incl.svg | 2 +- .../binary__search__tree_8cpp__incl_org.svg | 2 +- d4/d1f/merge__insertion__sort_8cpp__incl.svg | 2 +- .../merge__insertion__sort_8cpp__incl_org.svg | 2 +- d4/d25/ncr__modulo__p_8cpp__incl.svg | 2 +- d4/d25/ncr__modulo__p_8cpp__incl_org.svg | 2 +- d4/d26/durand__kerner__roots_8cpp__incl.svg | 2 +- .../durand__kerner__roots_8cpp__incl_org.svg | 2 +- d4/d28/pigeonhole__sort_8cpp__incl.svg | 2 +- d4/d28/pigeonhole__sort_8cpp__incl_org.svg | 2 +- ...struct_trie_1_1_trie_node__coll__graph.svg | 2 +- ...ct_trie_1_1_trie_node__coll__graph_org.svg | 2 +- d4/d2f/fcfs__scheduling_8cpp__incl.svg | 2 +- d4/d2f/fcfs__scheduling_8cpp__incl_org.svg | 2 +- ...1_1_cache_1_1_l_f_u_cache__coll__graph.svg | 2 +- ...cache_1_1_l_f_u_cache__coll__graph_org.svg | 2 +- d4/d59/large__factorial_8cpp__incl.svg | 2 +- d4/d59/large__factorial_8cpp__incl_org.svg | 2 +- d4/d60/classunordered__set__coll__graph.svg | 2 +- .../classunordered__set__coll__graph_org.svg | 2 +- d4/d60/kohonen__som__trace_8cpp__incl.svg | 2 +- d4/d60/kohonen__som__trace_8cpp__incl_org.svg | 2 +- d4/d72/qr__eigen__values_8cpp__incl.svg | 2 +- d4/d72/qr__eigen__values_8cpp__incl_org.svg | 2 +- d4/d75/skip__list_8cpp__incl.svg | 2 +- d4/d75/skip__list_8cpp__incl_org.svg | 2 +- d4/d89/lru__cache2_8cpp__incl.svg | 2 +- d4/d89/lru__cache2_8cpp__incl_org.svg | 2 +- ...ta__structures_1_1_bitset__coll__graph.svg | 2 +- ...structures_1_1_bitset__coll__graph_org.svg | 2 +- d4/da0/area_8cpp__incl.svg | 2 +- d4/da0/area_8cpp__incl_org.svg | 2 +- ...ber__of__positive__divisors_8cpp__incl.svg | 2 +- ..._of__positive__divisors_8cpp__incl_org.svg | 2 +- d4/db4/bayes__theorem_8cpp__incl.svg | 2 +- d4/db4/bayes__theorem_8cpp__incl_org.svg | 2 +- ...extended__euclid__algorithm_8cpp__incl.svg | 2 +- ...nded__euclid__algorithm_8cpp__incl_org.svg | 2 +- d4/dc8/tree__234_8cpp__incl.svg | 2 +- d4/dc8/tree__234_8cpp__incl_org.svg | 2 +- d4/dcb/classstack__coll__graph.svg | 2 +- d4/dcb/classstack__coll__graph_org.svg | 2 +- d4/dd7/house__robber_8cpp__incl.svg | 2 +- d4/dd7/house__robber_8cpp__incl_org.svg | 2 +- .../gcd__iterative__euclidean_8cpp__incl.svg | 2 +- ...d__iterative__euclidean_8cpp__incl_org.svg | 2 +- ...ashing_1_1sha256_1_1_hash__coll__graph.svg | 2 +- ...ng_1_1sha256_1_1_hash__coll__graph_org.svg | 2 +- d4/df4/trie__multiple__search_8cpp__incl.svg | 2 +- .../trie__multiple__search_8cpp__incl_org.svg | 2 +- d4/df8/prime__numbers_8cpp__incl.svg | 2 +- d4/df8/prime__numbers_8cpp__incl_org.svg | 2 +- d5/d08/classgraph_1_1_graph__coll__graph.svg | 2 +- .../classgraph_1_1_graph__coll__graph_org.svg | 2 +- d5/d1b/struct_list_node__coll__graph.svg | 2 +- d5/d1b/struct_list_node__coll__graph_org.svg | 2 +- .../selection__sort__recursive_8cpp__incl.svg | 2 +- ...ection__sort__recursive_8cpp__incl_org.svg | 2 +- ...test__common__supersequence_8cpp__incl.svg | 2 +- ...__common__supersequence_8cpp__incl_org.svg | 2 +- .../random__pivot__quick__sort_8cpp__incl.svg | 2 +- ...dom__pivot__quick__sort_8cpp__incl_org.svg | 2 +- .../integral__approximation2_8cpp__incl.svg | 2 +- ...ntegral__approximation2_8cpp__incl_org.svg | 2 +- d5/d6e/classcatalan__numbers__coll__graph.svg | 2 +- ...classcatalan__numbers__coll__graph_org.svg | 2 +- d5/d79/jump__game_8cpp__incl.svg | 2 +- d5/d79/jump__game_8cpp__incl_org.svg | 2 +- d5/d7f/trapped__rainwater_8cpp__incl.svg | 2 +- d5/d7f/trapped__rainwater_8cpp__incl_org.svg | 2 +- d5/d85/xor__cipher_8cpp__incl.svg | 2 +- d5/d85/xor__cipher_8cpp__incl_org.svg | 2 +- d5/d8b/least__common__multiple_8cpp__incl.svg | 2 +- ...least__common__multiple_8cpp__incl_org.svg | 2 +- d5/d91/namespacesorting.html | 32 +- d5/d95/binary__addition_8cpp__incl.svg | 2 +- d5/d95/binary__addition_8cpp__incl_org.svg | 2 +- d5/d95/n__bonacci_8cpp__incl.svg | 2 +- d5/d95/n__bonacci_8cpp__incl_org.svg | 2 +- d5/dad/magic__number_8cpp__incl.svg | 2 +- d5/dad/magic__number_8cpp__incl_org.svg | 2 +- d5/dc3/integral__approximation_8cpp__incl.svg | 2 +- ...integral__approximation_8cpp__incl_org.svg | 2 +- ...data__structures_1_1_node__coll__graph.svg | 2 +- ...__structures_1_1_node__coll__graph_org.svg | 2 +- d5/dc8/postfix__evaluation_8cpp__incl.svg | 2 +- d5/dc8/postfix__evaluation_8cpp__incl_org.svg | 2 +- ...ector__important__functions_8cpp__incl.svg | 2 +- ...r__important__functions_8cpp__incl_org.svg | 2 +- d5/dcd/kohonen__som__topology_8cpp__incl.svg | 2 +- .../kohonen__som__topology_8cpp__incl_org.svg | 2 +- d5/dcd/sum__of__digits_8cpp__incl.svg | 2 +- d5/dcd/sum__of__digits_8cpp__incl_org.svg | 2 +- d5/dee/disjoint__set_8cpp__incl.svg | 2 +- d5/dee/disjoint__set_8cpp__incl_org.svg | 2 +- ...multiplication_1_1_matrix__coll__graph.svg | 2 +- ...iplication_1_1_matrix__coll__graph_org.svg | 2 +- ...ence__using__binary__search_8cpp__incl.svg | 2 +- ...__using__binary__search_8cpp__incl_org.svg | 2 +- d6/d1d/bubble__sort_8cpp__incl.svg | 2 +- d6/d1d/bubble__sort_8cpp__incl_org.svg | 2 +- d6/d20/lu__decomposition_8h__incl.svg | 2 +- d6/d20/lu__decomposition_8h__incl_org.svg | 2 +- ...ary__tree_1_1_binary_tree__coll__graph.svg | 2 +- ..._tree_1_1_binary_tree__coll__graph_org.svg | 2 +- ...search__tree_1_1bst__node__coll__graph.svg | 2 +- ...ch__tree_1_1bst__node__coll__graph_org.svg | 2 +- ...stics_1_1stats__computer1__coll__graph.svg | 2 +- ...s_1_1stats__computer1__coll__graph_org.svg | 2 +- d6/d38/newton__raphson__method_8cpp__incl.svg | 2 +- ...newton__raphson__method_8cpp__incl_org.svg | 2 +- ...__queries_1_1per_seg_tree__coll__graph.svg | 2 +- ...eries_1_1per_seg_tree__coll__graph_org.svg | 2 +- d6/d4b/hamming__distance_8cpp__incl.svg | 2 +- d6/d4b/hamming__distance_8cpp__incl_org.svg | 2 +- .../gcd__recursive__euclidean_8cpp__incl.svg | 2 +- ...d__recursive__euclidean_8cpp__incl_org.svg | 2 +- d6/d4e/namespaceciphers.html | 2 +- ...avelling__salesman__problem_8cpp__incl.svg | 2 +- ...ling__salesman__problem_8cpp__incl_org.svg | 2 +- d6/d75/catalan__numbers_8cpp__incl.svg | 2 +- d6/d75/catalan__numbers_8cpp__incl_org.svg | 2 +- d6/d93/large__number_8h__dep__incl.svg | 2 +- d6/d93/large__number_8h__dep__incl_org.svg | 2 +- ...1_ay_star_search_1_1_info__coll__graph.svg | 2 +- ..._star_search_1_1_info__coll__graph_org.svg | 2 +- d6/da8/0__1__knapsack_8cpp__incl.svg | 2 +- d6/da8/0__1__knapsack_8cpp__incl_org.svg | 2 +- .../ode__semi__implicit__euler_8cpp__incl.svg | 2 +- ...__semi__implicit__euler_8cpp__incl_org.svg | 2 +- d6/dbc/sparse__matrix_8cpp__incl.svg | 2 +- d6/dbc/sparse__matrix_8cpp__incl_org.svg | 2 +- d6/dbd/jump__search_8cpp__incl.svg | 2 +- d6/dbd/jump__search_8cpp__incl_org.svg | 2 +- ..._queries_1_1fenwick__tree__coll__graph.svg | 2 +- ...ries_1_1fenwick__tree__coll__graph_org.svg | 2 +- d6/dc0/interpolation__search2_8cpp__incl.svg | 2 +- .../interpolation__search2_8cpp__incl_org.svg | 2 +- ..._1_1_circular_linked_list__coll__graph.svg | 2 +- ..._circular_linked_list__coll__graph_org.svg | 2 +- d6/dca/lfu__cache_8cpp__incl.svg | 2 +- d6/dca/lfu__cache_8cpp__incl_org.svg | 2 +- d6/dd5/atbash__cipher_8cpp__incl.svg | 2 +- d6/dd5/atbash__cipher_8cpp__incl_org.svg | 2 +- d6/dec/breadth__first__search_8cpp__incl.svg | 2 +- .../breadth__first__search_8cpp__incl_org.svg | 2 +- d6/df6/n__choose__r_8cpp__incl.svg | 2 +- d6/df6/n__choose__r_8cpp__incl_org.svg | 2 +- ...al_3_01uint128__t_01_4__inherit__graph.svg | 2 +- ..._01uint128__t_01_4__inherit__graph_org.svg | 2 +- ..._1_1_circular_linked_list__coll__graph.svg | 2 +- ..._circular_linked_list__coll__graph_org.svg | 2 +- ..._structures_1_1_skip_list__coll__graph.svg | 2 +- ...uctures_1_1_skip_list__coll__graph_org.svg | 2 +- d7/d1f/realtime__stats_8cpp__incl.svg | 2 +- d7/d1f/realtime__stats_8cpp__incl_org.svg | 2 +- d7/d2e/avltree_8cpp__incl.svg | 2 +- d7/d2e/avltree_8cpp__incl_org.svg | 2 +- d7/d31/classqueue__coll__graph.svg | 2 +- d7/d31/classqueue__coll__graph_org.svg | 2 +- d7/d39/lu__decomposition_8h__dep__incl.svg | 2 +- .../lu__decomposition_8h__dep__incl_org.svg | 2 +- ...t__implentation__usingarray_8cpp__incl.svg | 2 +- ...mplentation__usingarray_8cpp__incl_org.svg | 2 +- d7/d40/class_solution__coll__graph.svg | 2 +- d7/d40/class_solution__coll__graph_org.svg | 2 +- d7/d41/struct_min_heap_node__coll__graph.svg | 2 +- .../struct_min_heap_node__coll__graph_org.svg | 2 +- d7/d4a/fibonacci__sum_8cpp__incl.svg | 2 +- d7/d4a/fibonacci__sum_8cpp__incl_org.svg | 2 +- d7/d4c/spiral__print_8cpp__incl.svg | 2 +- d7/d4c/spiral__print_8cpp__incl_org.svg | 2 +- d7/d53/inv__sqrt_8cpp__incl.svg | 2 +- d7/d53/inv__sqrt_8cpp__incl_org.svg | 2 +- d7/d53/kadane_8cpp__incl.svg | 2 +- d7/d53/kadane_8cpp__incl_org.svg | 2 +- ...etwork_1_1_neural_network__coll__graph.svg | 2 +- ...rk_1_1_neural_network__coll__graph_org.svg | 2 +- ...inorder__successor__of__bst_8cpp__incl.svg | 2 +- ...der__successor__of__bst_8cpp__incl_org.svg | 2 +- ...igned_3_01uint256__t_01_4__coll__graph.svg | 2 +- ...d_3_01uint256__t_01_4__coll__graph_org.svg | 2 +- .../power__for__huge__numbers_8cpp__incl.svg | 2 +- ...wer__for__huge__numbers_8cpp__incl_org.svg | 2 +- d7/d92/sublist__search_8cpp__incl.svg | 2 +- d7/d92/sublist__search_8cpp__incl_org.svg | 2 +- d7/da4/cut__rod_8cpp__incl.svg | 2 +- d7/da4/cut__rod_8cpp__incl_org.svg | 2 +- d7/da7/adaline__learning_8cpp__incl.svg | 2 +- d7/da7/adaline__learning_8cpp__incl_org.svg | 2 +- ...al_3_01uint256__t_01_4__inherit__graph.svg | 2 +- ..._01uint256__t_01_4__inherit__graph_org.svg | 2 +- d7/dae/decimal__to__binary_8cpp__incl.svg | 2 +- d7/dae/decimal__to__binary_8cpp__incl_org.svg | 2 +- .../composite__simpson__rule_8cpp__incl.svg | 2 +- ...omposite__simpson__rule_8cpp__incl_org.svg | 2 +- ...search_1_1_ay_star_search__coll__graph.svg | 2 +- ...ch_1_1_ay_star_search__coll__graph_org.svg | 2 +- ...res_1_1tree__234_1_1_node__coll__graph.svg | 2 +- ...1_1tree__234_1_1_node__coll__graph_org.svg | 2 +- .../classgraph_1_1_graph__inherit__graph.svg | 2 +- ...assgraph_1_1_graph__inherit__graph_org.svg | 2 +- d7/dce/graph__coloring_8cpp__incl.svg | 2 +- d7/dce/graph__coloring_8cpp__incl_org.svg | 2 +- ...metic_3_01uint128__t_01_4__coll__graph.svg | 2 +- ...c_3_01uint128__t_01_4__coll__graph_org.svg | 2 +- d7/dd9/eratosthenes_8cpp__incl.svg | 2 +- d7/dd9/eratosthenes_8cpp__incl_org.svg | 2 +- d7/dda/dsu__union__rank_8cpp__incl.svg | 2 +- d7/dda/dsu__union__rank_8cpp__incl_org.svg | 2 +- ...ructures_1_1_bloom_filter__coll__graph.svg | 2 +- ...ures_1_1_bloom_filter__coll__graph_org.svg | 2 +- d8/d61/class_trie__coll__graph.svg | 2 +- d8/d61/class_trie__coll__graph_org.svg | 2 +- d8/d68/classpriority__queue__coll__graph.svg | 2 +- .../classpriority__queue__coll__graph_org.svg | 2 +- d8/d96/gram__schmidt_8cpp__incl.svg | 2 +- d8/d96/gram__schmidt_8cpp__incl_org.svg | 2 +- ..._tree__traversals_1_1_b_t__coll__graph.svg | 2 +- ...e__traversals_1_1_b_t__coll__graph_org.svg | 2 +- ...ru__cache_1_1_l_r_u_cache__coll__graph.svg | 2 +- ...cache_1_1_l_r_u_cache__coll__graph_org.svg | 2 +- ...heavy__light__decomposition_8cpp__incl.svg | 2 +- ...y__light__decomposition_8cpp__incl_org.svg | 2 +- d8/de0/radix__sort2_8cpp__incl.svg | 2 +- d8/de0/radix__sort2_8cpp__incl_org.svg | 2 +- d8/df4/array__right__rotation_8cpp__incl.svg | 2 +- .../array__right__rotation_8cpp__incl_org.svg | 2 +- d8/df7/quick__sort__3_8cpp__incl.svg | 2 +- d8/df7/quick__sort__3_8cpp__incl_org.svg | 2 +- d8/df9/stack_8hpp__dep__incl.svg | 2 +- d8/df9/stack_8hpp__dep__incl_org.svg | 2 +- d9/d0e/brent__method__extrema_8cpp__incl.svg | 2 +- .../brent__method__extrema_8cpp__incl_org.svg | 2 +- ...s__all__solution__optimised_8cpp__incl.svg | 2 +- ...ll__solution__optimised_8cpp__incl_org.svg | 2 +- d9/d31/recursive__bubble__sort_8cpp__incl.map | 22 +- d9/d31/recursive__bubble__sort_8cpp__incl.md5 | 2 +- d9/d31/recursive__bubble__sort_8cpp__incl.svg | 66 ++-- ...recursive__bubble__sort_8cpp__incl_org.svg | 66 ++-- d9/d33/quick__sort__iterative_8cpp__incl.svg | 2 +- .../quick__sort__iterative_8cpp__incl_org.svg | 2 +- d9/d43/hopcroft__karp_8cpp__incl.svg | 2 +- d9/d43/hopcroft__karp_8cpp__incl_org.svg | 2 +- d9/d43/set__kth__bit_8cpp__incl.svg | 2 +- d9/d43/set__kth__bit_8cpp__incl_org.svg | 2 +- d9/d47/digit__separation_8cpp__incl.svg | 2 +- d9/d47/digit__separation_8cpp__incl_org.svg | 2 +- d9/d4e/gnome__sort_8cpp__incl.svg | 2 +- d9/d4e/gnome__sort_8cpp__incl_org.svg | 2 +- d9/d5f/dijkstra_8cpp__incl.svg | 2 +- d9/d5f/dijkstra_8cpp__incl_org.svg | 2 +- d9/d73/median__search2_8cpp__incl.svg | 2 +- d9/d73/median__search2_8cpp__incl_org.svg | 2 +- d9/d78/factorial_8cpp__incl.svg | 2 +- d9/d78/factorial_8cpp__incl_org.svg | 2 +- d9/d7d/primality__test_8cpp__incl.svg | 2 +- d9/d7d/primality__test_8cpp__incl_org.svg | 2 +- ...ed_3_01uint128__t_01_4__inherit__graph.svg | 2 +- ..._01uint128__t_01_4__inherit__graph_org.svg | 2 +- .../palindrome__partitioning_8cpp__incl.svg | 2 +- ...alindrome__partitioning_8cpp__incl_org.svg | 2 +- d9/d94/golden__search__extrema_8cpp__incl.svg | 2 +- ...golden__search__extrema_8cpp__incl_org.svg | 2 +- d9/dae/struct_queue__coll__graph.svg | 2 +- d9/dae/struct_queue__coll__graph_org.svg | 2 +- d9/db7/linked__list_8cpp__incl.svg | 2 +- d9/db7/linked__list_8cpp__incl_org.svg | 2 +- ...e__force__string__searching_8cpp__incl.svg | 2 +- ...orce__string__searching_8cpp__incl_org.svg | 2 +- d9/dcc/miller__rabin_8cpp__incl.svg | 2 +- d9/dcc/miller__rabin_8cpp__incl_org.svg | 2 +- d9/dd9/bisection__method_8cpp__incl.svg | 2 +- d9/dd9/bisection__method_8cpp__incl_org.svg | 2 +- d9/ddb/tower__of__hanoi_8cpp__incl.svg | 2 +- d9/ddb/tower__of__hanoi_8cpp__incl_org.svg | 2 +- d9/deb/cycle__sort_8cpp__incl.svg | 2 +- d9/deb/cycle__sort_8cpp__incl_org.svg | 2 +- ...same__number__of__set__bits_8cpp__incl.svg | 2 +- ...__number__of__set__bits_8cpp__incl_org.svg | 2 +- d9/dfa/fibonacci__search_8cpp__incl.svg | 2 +- d9/dfa/fibonacci__search_8cpp__incl_org.svg | 2 +- d9/dfd/primes__up__to__billion_8cpp__incl.svg | 2 +- ...primes__up__to__billion_8cpp__incl_org.svg | 2 +- d9/dfd/uint128__t_8hpp__incl.svg | 2 +- d9/dfd/uint128__t_8hpp__incl_org.svg | 2 +- da/d01/rat__maze_8cpp__incl.svg | 2 +- da/d01/rat__maze_8cpp__incl_org.svg | 2 +- ...pological__sort_1_1_graph__coll__graph.svg | 2 +- ...gical__sort_1_1_graph__coll__graph_org.svg | 2 +- da/d18/memory__game_8cpp__incl.svg | 2 +- da/d18/memory__game_8cpp__incl_org.svg | 2 +- da/d26/strand__sort_8cpp__incl.svg | 2 +- da/d26/strand__sort_8cpp__incl_org.svg | 2 +- ...__using__hashmap_1_1_trie__coll__graph.svg | 2 +- ...ing__hashmap_1_1_trie__coll__graph_org.svg | 2 +- da/d35/sieve__of__eratosthenes_8cpp__incl.svg | 2 +- ...sieve__of__eratosthenes_8cpp__incl_org.svg | 2 +- da/d50/is__graph__bipartite_8cpp__incl.svg | 2 +- .../is__graph__bipartite_8cpp__incl_org.svg | 2 +- ...non__recursive__merge__sort_8cpp__incl.svg | 2 +- ..._recursive__merge__sort_8cpp__incl_org.svg | 2 +- ...cted__components__with__dsu_8cpp__incl.svg | 2 +- ...__components__with__dsu_8cpp__incl_org.svg | 2 +- ..._1boyer__moore_1_1pattern__coll__graph.svg | 2 +- ...yer__moore_1_1pattern__coll__graph_org.svg | 2 +- da/d76/abbreviation_8cpp__incl.svg | 2 +- da/d76/abbreviation_8cpp__incl_org.svg | 2 +- da/d7b/perimeter_8cpp__incl.svg | 2 +- da/d7b/perimeter_8cpp__incl_org.svg | 2 +- ..._1_1tree__234_1_1_tree234__coll__graph.svg | 2 +- ...tree__234_1_1_tree234__coll__graph_org.svg | 2 +- da/d8a/paranthesis__matching_8cpp__incl.svg | 2 +- .../paranthesis__matching_8cpp__incl_org.svg | 2 +- da/da2/node_8hpp__dep__incl.svg | 2 +- da/da2/node_8hpp__dep__incl_org.svg | 2 +- da/dc1/generate__parentheses_8cpp__incl.svg | 2 +- .../generate__parentheses_8cpp__incl_org.svg | 2 +- ...t__palindromic__subsequence_8cpp__incl.svg | 2 +- ...alindromic__subsequence_8cpp__incl_org.svg | 2 +- ...igned_3_01uint128__t_01_4__coll__graph.svg | 2 +- ...d_3_01uint128__t_01_4__coll__graph_org.svg | 2 +- ...decomposition_1_1_tree__inherit__graph.svg | 2 +- ...mposition_1_1_tree__inherit__graph_org.svg | 2 +- ...hine__learning_1_1adaline__coll__graph.svg | 2 +- ...__learning_1_1adaline__coll__graph_org.svg | 2 +- da/dd9/happy__number_8cpp__incl.svg | 2 +- da/dd9/happy__number_8cpp__incl_org.svg | 2 +- .../double__hash__hash__table_8cpp__incl.svg | 2 +- ...uble__hash__hash__table_8cpp__incl_org.svg | 2 +- da/de6/treap_8cpp__incl.svg | 2 +- da/de6/treap_8cpp__incl_org.svg | 2 +- da/dfd/buzz__number_8cpp__incl.svg | 2 +- da/dfd/buzz__number_8cpp__incl_org.svg | 2 +- da/dfd/sudoku__solver_8cpp__incl.svg | 2 +- da/dfd/sudoku__solver_8cpp__incl_org.svg | 2 +- db/d0c/check__amicable__pair_8cpp__incl.svg | 2 +- .../check__amicable__pair_8cpp__incl_org.svg | 2 +- ...__array_1_1_queue___array__coll__graph.svg | 2 +- ...ray_1_1_queue___array__coll__graph_org.svg | 2 +- .../modular__inverse__simple_8cpp__incl.svg | 2 +- ...odular__inverse__simple_8cpp__incl_org.svg | 2 +- ..._1_1jarvis_1_1_convexhull__coll__graph.svg | 2 +- ...jarvis_1_1_convexhull__coll__graph_org.svg | 2 +- db/d30/fast__power_8cpp__incl.svg | 2 +- db/d30/fast__power_8cpp__incl_org.svg | 2 +- db/d4a/aliquot__sum_8cpp__incl.svg | 2 +- db/d4a/aliquot__sum_8cpp__incl_org.svg | 2 +- db/d4e/depth__first__search_8cpp__incl.svg | 2 +- .../depth__first__search_8cpp__incl_org.svg | 2 +- db/d51/fibonacci__fast_8cpp__incl.svg | 2 +- db/d51/fibonacci__fast_8cpp__incl_org.svg | 2 +- ...ulo__p_1_1_n_c_r_modulo_p__coll__graph.svg | 2 +- ..._p_1_1_n_c_r_modulo_p__coll__graph_org.svg | 2 +- ...tree__traversals_1_1_node__coll__graph.svg | 2 +- ...__traversals_1_1_node__coll__graph_org.svg | 2 +- db/d6c/count__inversions_8cpp__incl.svg | 2 +- db/d6c/count__inversions_8cpp__incl_org.svg | 2 +- ...ed_3_01uint256__t_01_4__inherit__graph.svg | 2 +- ..._01uint256__t_01_4__inherit__graph_org.svg | 2 +- ...ic_3_01uint128__t_01_4__inherit__graph.svg | 2 +- ..._01uint128__t_01_4__inherit__graph_org.svg | 2 +- .../lowest__common__ancestor_8cpp__incl.svg | 2 +- ...owest__common__ancestor_8cpp__incl_org.svg | 2 +- db/d8f/struct_btree__coll__graph.svg | 2 +- db/d8f/struct_btree__coll__graph_org.svg | 2 +- db/d91/binomial__calculate_8cpp__incl.svg | 2 +- db/d91/binomial__calculate_8cpp__incl_org.svg | 2 +- db/d93/morse__code_8cpp__incl.svg | 2 +- db/d93/morse__code_8cpp__incl_org.svg | 2 +- ...se__binary__tree_1_1_node__coll__graph.svg | 2 +- ...binary__tree_1_1_node__coll__graph_org.svg | 2 +- .../reverse__a__linked__list_8cpp__incl.svg | 2 +- ...everse__a__linked__list_8cpp__incl_org.svg | 2 +- db/da8/subset__sum_8cpp__incl.svg | 2 +- db/da8/subset__sum_8cpp__incl_org.svg | 2 +- ...inear__probing__hash__table_8cpp__incl.svg | 2 +- ...r__probing__hash__table_8cpp__incl_org.svg | 2 +- db/dc3/vector__cross__product_8cpp__incl.svg | 2 +- .../vector__cross__product_8cpp__incl_org.svg | 2 +- db/dc8/dijkstra__greedy_8cpp__incl.svg | 2 +- db/dc8/dijkstra__greedy_8cpp__incl_org.svg | 2 +- db/dd4/structlist__coll__graph.svg | 2 +- db/dd4/structlist__coll__graph_org.svg | 2 +- db/ddb/classhash__chain__coll__graph.svg | 2 +- db/ddb/classhash__chain__coll__graph_org.svg | 2 +- db/de3/dsu__path__compression_8cpp__incl.svg | 2 +- .../dsu__path__compression_8cpp__incl_org.svg | 2 +- db/de3/reverse__binary__tree_8cpp__incl.svg | 2 +- .../reverse__binary__tree_8cpp__incl_org.svg | 2 +- ...hout__repeating__characters_8cpp__incl.svg | 2 +- ...__repeating__characters_8cpp__incl_org.svg | 2 +- db/df0/insertion__sort_8cpp__incl.svg | 2 +- db/df0/insertion__sort_8cpp__incl_org.svg | 2 +- ...ar__linked__list_1_1_node__coll__graph.svg | 2 +- ...linked__list_1_1_node__coll__graph_org.svg | 2 +- dc/d29/coin__change__topdown_8cpp__incl.svg | 2 +- .../coin__change__topdown_8cpp__incl_org.svg | 2 +- dc/d37/lu__decompose_8cpp__incl.svg | 2 +- dc/d37/lu__decompose_8cpp__incl_org.svg | 2 +- dc/d40/fast__integer__input_8cpp__incl.svg | 2 +- .../fast__integer__input_8cpp__incl_org.svg | 2 +- ...decimal__to__roman__numeral_8cpp__incl.svg | 2 +- ...mal__to__roman__numeral_8cpp__incl_org.svg | 2 +- ...egral_3_01uint256__t_01_4__coll__graph.svg | 2 +- ...l_3_01uint256__t_01_4__coll__graph_org.svg | 2 +- ...e__fast__fourier__transform_8cpp__incl.svg | 2 +- ...ast__fourier__transform_8cpp__incl_org.svg | 2 +- ...as__minimum__spanning__tree_8cpp__incl.svg | 2 +- ...minimum__spanning__tree_8cpp__incl_org.svg | 2 +- dc/d5f/qr__decompose_8h__dep__incl.svg | 2 +- dc/d5f/qr__decompose_8h__dep__incl_org.svg | 2 +- dc/d79/wave__sort_8cpp__incl.svg | 2 +- dc/d79/wave__sort_8cpp__incl_org.svg | 2 +- dc/d7e/largest__power_8cpp__incl.svg | 2 +- dc/d7e/largest__power_8cpp__incl_org.svg | 2 +- dc/d9a/class_h_k_graph__coll__graph.svg | 2 +- dc/d9a/class_h_k_graph__coll__graph_org.svg | 2 +- dc/dc5/ode__forward__euler_8cpp__incl.svg | 2 +- dc/dc5/ode__forward__euler_8cpp__incl_org.svg | 2 +- dc/dc7/rungekutta_8cpp__incl.svg | 2 +- dc/dc7/rungekutta_8cpp__incl_org.svg | 2 +- dc/dce/structtests_1_1_node__coll__graph.svg | 2 +- .../structtests_1_1_node__coll__graph_org.svg | 2 +- dc/dcf/vector__ops_8hpp__incl.svg | 2 +- dc/dcf/vector__ops_8hpp__incl_org.svg | 2 +- dc/dd2/sha256_8cpp__incl.svg | 2 +- dc/dd2/sha256_8cpp__incl_org.svg | 2 +- dc/dd7/node_8hpp__incl.svg | 2 +- dc/dd7/node_8hpp__incl_org.svg | 2 +- ...__decomposition_1_1_h_l_d__coll__graph.svg | 2 +- ...composition_1_1_h_l_d__coll__graph_org.svg | 2 +- dc/dda/fenwick__tree_8cpp__incl.svg | 2 +- dc/dda/fenwick__tree_8cpp__incl_org.svg | 2 +- dc/ddf/horspool_8cpp__incl.svg | 2 +- dc/ddf/horspool_8cpp__incl_org.svg | 2 +- dc/de0/fibonacci__large_8cpp__incl.svg | 2 +- dc/de0/fibonacci__large_8cpp__incl_org.svg | 2 +- dc/de2/false__position_8cpp__incl.svg | 2 +- dc/de2/false__position_8cpp__incl_org.svg | 2 +- ...rie__operations_1_1_tnode__coll__graph.svg | 2 +- ..._operations_1_1_tnode__coll__graph_org.svg | 2 +- dc/dfa/heap__sort_8cpp__incl.svg | 2 +- dc/dfa/heap__sort_8cpp__incl_org.svg | 2 +- dd/d05/manacher__algorithm_8cpp__incl.svg | 2 +- dd/d05/manacher__algorithm_8cpp__incl_org.svg | 2 +- dd/d0e/double__factorial_8cpp__incl.svg | 2 +- dd/d0e/double__factorial_8cpp__incl_org.svg | 2 +- dd/d0f/md5_8cpp__incl.svg | 2 +- dd/d0f/md5_8cpp__incl_org.svg | 2 +- dd/d0f/text__search_8cpp__incl.svg | 2 +- dd/d0f/text__search_8cpp__incl_org.svg | 2 +- dd/d2b/array__left__rotation_8cpp__incl.svg | 2 +- .../array__left__rotation_8cpp__incl_org.svg | 2 +- dd/d30/matrix__exponentiation_8cpp__incl.svg | 2 +- .../matrix__exponentiation_8cpp__incl_org.svg | 2 +- dd/d43/uint256__t_8hpp__incl.svg | 2 +- dd/d43/uint256__t_8hpp__incl_org.svg | 2 +- ...__key__exchange_1_1_point__coll__graph.svg | 2 +- ...y__exchange_1_1_point__coll__graph_org.svg | 2 +- dd/d4d/list__array_8cpp__incl.svg | 2 +- dd/d4d/list__array_8cpp__incl_org.svg | 2 +- ...earest__neighbors_1_1_knn__coll__graph.svg | 2 +- ...st__neighbors_1_1_knn__coll__graph_org.svg | 2 +- dd/d59/hamiltons__cycle_8cpp__incl.svg | 2 +- dd/d59/hamiltons__cycle_8cpp__incl_org.svg | 2 +- dd/d5e/volume_8cpp__incl.svg | 2 +- dd/d5e/volume_8cpp__incl_org.svg | 2 +- .../classstack__linked_list__coll__graph.svg | 2 +- ...assstack__linked_list__coll__graph_org.svg | 2 +- dd/d82/large__number_8h__incl.svg | 2 +- dd/d82/large__number_8h__incl_org.svg | 2 +- dd/d86/shell__sort2_8cpp__incl.svg | 2 +- dd/d86/shell__sort2_8cpp__incl_org.svg | 2 +- ...sgraph_1_1_rooted_tree__inherit__graph.svg | 2 +- ...ph_1_1_rooted_tree__inherit__graph_org.svg | 2 +- ...es_1_1list__array_1_1list__coll__graph.svg | 2 +- ..._1list__array_1_1list__coll__graph_org.svg | 2 +- dd/d9f/count__of__set__bits_8cpp__incl.svg | 2 +- .../count__of__set__bits_8cpp__incl_org.svg | 2 +- dd/dab/gale__shapley_8cpp__incl.svg | 2 +- dd/dab/gale__shapley_8cpp__incl_org.svg | 2 +- dd/dad/power__of__two_8cpp__incl.svg | 2 +- dd/dad/power__of__two_8cpp__incl_org.svg | 2 +- .../recursive__tree__traversal_8cpp__incl.svg | 2 +- ...ursive__tree__traversal_8cpp__incl_org.svg | 2 +- ...ueen__print__all__solutions_8cpp__incl.svg | 2 +- ...__print__all__solutions_8cpp__incl_org.svg | 2 +- ...cci__matrix__exponentiation_8cpp__incl.svg | 2 +- ..._matrix__exponentiation_8cpp__incl_org.svg | 2 +- ...line__segment__intersection_8cpp__incl.svg | 2 +- ...__segment__intersection_8cpp__incl_org.svg | 2 +- dd/df5/poisson__dist_8cpp__incl.svg | 2 +- dd/df5/poisson__dist_8cpp__incl_org.svg | 2 +- de/d02/knight__tour_8cpp__incl.svg | 2 +- de/d02/knight__tour_8cpp__incl_org.svg | 2 +- .../midpoint__integral__method_8cpp__incl.svg | 2 +- ...point__integral__method_8cpp__incl_org.svg | 2 +- de/d24/power__of__2_8cpp__incl.svg | 2 +- de/d24/power__of__2_8cpp__incl_org.svg | 2 +- de/d24/sparse__table_8cpp__incl.svg | 2 +- de/d24/sparse__table_8cpp__incl_org.svg | 2 +- de/d33/binary__search__tree2_8cpp__incl.svg | 2 +- .../binary__search__tree2_8cpp__incl_org.svg | 2 +- ...s_1_1linked__list_1_1link__coll__graph.svg | 2 +- ...1linked__list_1_1link__coll__graph_org.svg | 2 +- de/d36/binary__exponent_8cpp__incl.svg | 2 +- de/d36/binary__exponent_8cpp__incl_org.svg | 2 +- de/d3d/minimum__edit__distance_8cpp__incl.svg | 2 +- ...minimum__edit__distance_8cpp__incl_org.svg | 2 +- ...t__decomposition_1_1_tree__coll__graph.svg | 2 +- ...ecomposition_1_1_tree__coll__graph_org.svg | 2 +- de/d4c/saddleback__search_8cpp__incl.svg | 2 +- de/d4c/saddleback__search_8cpp__incl_org.svg | 2 +- de/d57/struct_test_case__coll__graph.svg | 2 +- de/d57/struct_test_case__coll__graph_org.svg | 2 +- ...__of__binomial__coefficient_8cpp__incl.svg | 2 +- ...__binomial__coefficient_8cpp__incl_org.svg | 2 +- .../eulers__totient__function_8cpp__incl.svg | 2 +- ...lers__totient__function_8cpp__incl_org.svg | 2 +- ..._1_1per_seg_tree_1_1_node__coll__graph.svg | 2 +- ...per_seg_tree_1_1_node__coll__graph_org.svg | 2 +- de/d69/knuth__morris__pratt_8cpp__incl.svg | 2 +- .../knuth__morris__pratt_8cpp__incl_org.svg | 2 +- de/d6c/palindrome__of__number_8cpp__incl.svg | 2 +- .../palindrome__of__number_8cpp__incl_org.svg | 2 +- ...rs_1_1_cache_1_1_d___node__coll__graph.svg | 2 +- ..._1_cache_1_1_d___node__coll__graph_org.svg | 2 +- ...metic_3_01uint256__t_01_4__coll__graph.svg | 2 +- ...c_3_01uint256__t_01_4__coll__graph_org.svg | 2 +- ...fix__expression_1_1_stack__coll__graph.svg | 2 +- ..._expression_1_1_stack__coll__graph_org.svg | 2 +- ...iterative__tree__traversals_8cpp__incl.svg | 2 +- ...ative__tree__traversals_8cpp__incl_org.svg | 2 +- de/d99/trie__tree_8cpp__incl.svg | 2 +- de/d99/trie__tree_8cpp__incl_org.svg | 2 +- de/da9/topological__sort_8cpp__incl.svg | 2 +- de/da9/topological__sort_8cpp__incl_org.svg | 2 +- de/db2/quick__sort_8cpp__incl.svg | 2 +- de/db2/quick__sort_8cpp__incl_org.svg | 2 +- de/db6/segtree_8cpp__incl.svg | 2 +- de/db6/segtree_8cpp__incl_org.svg | 2 +- de/dbb/uint128__t_8hpp__dep__incl.svg | 2 +- de/dbb/uint128__t_8hpp__dep__incl_org.svg | 2 +- de/df7/bogo__sort_8cpp__incl.svg | 2 +- de/df7/bogo__sort_8cpp__incl_org.svg | 2 +- ...1sublist__search_1_1_node__coll__graph.svg | 2 +- ...list__search_1_1_node__coll__graph_org.svg | 2 +- df/d0f/fibonacci_8cpp__incl.svg | 2 +- df/d0f/fibonacci_8cpp__incl_org.svg | 2 +- df/d14/dnf__sort_8cpp__incl.svg | 2 +- df/d14/dnf__sort_8cpp__incl_org.svg | 2 +- df/d1f/subset__sum__dynamic_8cpp__incl.svg | 2 +- .../subset__sum__dynamic_8cpp__incl_org.svg | 2 +- ...ls__minimum__spanning__tree_8cpp__incl.svg | 2 +- ...minimum__spanning__tree_8cpp__incl_org.svg | 2 +- df/d2c/geometric__dist_8cpp__incl.svg | 2 +- df/d2c/geometric__dist_8cpp__incl_org.svg | 2 +- df/d2d/bloom__filter_8cpp__incl.svg | 2 +- df/d2d/bloom__filter_8cpp__incl_org.svg | 2 +- df/d36/minimax_8cpp__incl.svg | 2 +- df/d36/minimax_8cpp__incl_org.svg | 2 +- df/d3c/exponential__search_8cpp__incl.svg | 2 +- df/d3c/exponential__search_8cpp__incl_org.svg | 2 +- df/d57/chaining_8cpp__incl.svg | 2 +- df/d57/chaining_8cpp__incl_org.svg | 2 +- df/d77/connected__components_8cpp__incl.svg | 2 +- .../connected__components_8cpp__incl_org.svg | 2 +- .../classgraph_1_1_h_k_graph__coll__graph.svg | 2 +- ...ssgraph_1_1_h_k_graph__coll__graph_org.svg | 2 +- df/d86/rabin__karp_8cpp__incl.svg | 2 +- df/d86/rabin__karp_8cpp__incl_org.svg | 2 +- df/d92/wildcard__matching_8cpp__incl.svg | 2 +- df/d92/wildcard__matching_8cpp__incl_org.svg | 2 +- ...equations__complex__numbers_8cpp__incl.svg | 2 +- ...tions__complex__numbers_8cpp__incl_org.svg | 2 +- ...raph__bipartite_1_1_graph__coll__graph.svg | 2 +- ...__bipartite_1_1_graph__coll__graph_org.svg | 2 +- ...n__using__bit__manipulation_8cpp__incl.svg | 2 +- ...sing__bit__manipulation_8cpp__incl_org.svg | 2 +- ...hms_1_1dijkstra_1_1_graph__coll__graph.svg | 2 +- ...1_1dijkstra_1_1_graph__coll__graph_org.svg | 2 +- ..._ground__projectile__motion_8cpp__incl.svg | 2 +- ...und__projectile__motion_8cpp__incl_org.svg | 2 +- df/dd4/stairs__pattern_8cpp__incl.svg | 2 +- df/dd4/stairs__pattern_8cpp__incl_org.svg | 2 +- df/dd6/a1z26__cipher_8cpp__incl.svg | 2 +- df/dd6/a1z26__cipher_8cpp__incl_org.svg | 2 +- df/ddc/struct_node__coll__graph.svg | 2 +- df/ddc/struct_node__coll__graph_org.svg | 2 +- df/deb/stack_8hpp__incl.svg | 2 +- df/deb/stack_8hpp__incl_org.svg | 2 +- dir_4d6e05837bf820fb089a8a8cdf2f42b7_dep.svg | 2 +- ...6e05837bf820fb089a8a8cdf2f42b7_dep_org.svg | 2 +- dir_f1797d0c2a0a12033e7d74efffeb14e1_dep.svg | 2 +- ...797d0c2a0a12033e7d74efffeb14e1_dep_org.svg | 2 +- graph_legend.svg | 2 +- inherit_graph_0.svg | 2 +- inherit_graph_1.svg | 2 +- inherit_graph_10.svg | 2 +- inherit_graph_100.svg | 2 +- inherit_graph_101.svg | 2 +- inherit_graph_102.svg | 2 +- inherit_graph_103.svg | 2 +- inherit_graph_104.svg | 2 +- inherit_graph_105.svg | 2 +- inherit_graph_106.svg | 2 +- inherit_graph_107.svg | 2 +- inherit_graph_108.svg | 2 +- inherit_graph_109.svg | 2 +- inherit_graph_11.svg | 2 +- inherit_graph_110.svg | 2 +- inherit_graph_111.svg | 2 +- inherit_graph_112.svg | 2 +- inherit_graph_113.svg | 2 +- inherit_graph_114.svg | 2 +- inherit_graph_115.svg | 2 +- inherit_graph_116.svg | 2 +- inherit_graph_117.svg | 2 +- inherit_graph_118.svg | 2 +- inherit_graph_119.svg | 2 +- inherit_graph_12.svg | 2 +- inherit_graph_120.svg | 2 +- inherit_graph_121.svg | 2 +- inherit_graph_122.svg | 2 +- inherit_graph_123.svg | 2 +- inherit_graph_124.svg | 2 +- inherit_graph_125.svg | 2 +- inherit_graph_126.svg | 2 +- inherit_graph_127.svg | 2 +- inherit_graph_128.svg | 2 +- inherit_graph_129.svg | 2 +- inherit_graph_13.svg | 2 +- inherit_graph_130.svg | 2 +- inherit_graph_131.svg | 2 +- inherit_graph_132.svg | 2 +- inherit_graph_133.svg | 2 +- inherit_graph_134.svg | 2 +- inherit_graph_14.svg | 2 +- inherit_graph_15.svg | 2 +- inherit_graph_16.svg | 2 +- inherit_graph_17.svg | 2 +- inherit_graph_18.svg | 2 +- inherit_graph_19.svg | 2 +- inherit_graph_2.svg | 2 +- inherit_graph_20.svg | 2 +- inherit_graph_21.svg | 2 +- inherit_graph_22.svg | 2 +- inherit_graph_23.svg | 2 +- inherit_graph_24.svg | 2 +- inherit_graph_25.svg | 2 +- inherit_graph_26.svg | 2 +- inherit_graph_27.svg | 2 +- inherit_graph_28.svg | 2 +- inherit_graph_29.svg | 2 +- inherit_graph_3.svg | 2 +- inherit_graph_30.svg | 2 +- inherit_graph_31.svg | 2 +- inherit_graph_32.svg | 2 +- inherit_graph_33.svg | 2 +- inherit_graph_34.svg | 2 +- inherit_graph_35.svg | 2 +- inherit_graph_36.svg | 2 +- inherit_graph_37.svg | 2 +- inherit_graph_38.svg | 2 +- inherit_graph_39.svg | 2 +- inherit_graph_4.svg | 2 +- inherit_graph_40.svg | 2 +- inherit_graph_41.svg | 2 +- inherit_graph_42.svg | 2 +- inherit_graph_43.svg | 2 +- inherit_graph_44.svg | 2 +- inherit_graph_45.svg | 2 +- inherit_graph_46.svg | 2 +- inherit_graph_47.svg | 2 +- inherit_graph_48.svg | 2 +- inherit_graph_49.svg | 2 +- inherit_graph_5.svg | 2 +- inherit_graph_50.svg | 2 +- inherit_graph_51.svg | 2 +- inherit_graph_52.svg | 2 +- inherit_graph_53.svg | 2 +- inherit_graph_54.svg | 2 +- inherit_graph_55.svg | 2 +- inherit_graph_56.svg | 2 +- inherit_graph_57.svg | 2 +- inherit_graph_58.svg | 2 +- inherit_graph_59.svg | 2 +- inherit_graph_6.svg | 2 +- inherit_graph_60.svg | 2 +- inherit_graph_61.svg | 2 +- inherit_graph_62.svg | 2 +- inherit_graph_63.svg | 2 +- inherit_graph_64.svg | 2 +- inherit_graph_65.svg | 2 +- inherit_graph_66.svg | 2 +- inherit_graph_67.svg | 2 +- inherit_graph_68.svg | 2 +- inherit_graph_69.svg | 2 +- inherit_graph_7.svg | 2 +- inherit_graph_70.svg | 2 +- inherit_graph_71.svg | 2 +- inherit_graph_72.svg | 2 +- inherit_graph_73.svg | 2 +- inherit_graph_74.svg | 2 +- inherit_graph_75.svg | 2 +- inherit_graph_76.svg | 2 +- inherit_graph_77.svg | 2 +- inherit_graph_78.svg | 2 +- inherit_graph_79.svg | 2 +- inherit_graph_8.svg | 2 +- inherit_graph_80.svg | 2 +- inherit_graph_81.svg | 2 +- inherit_graph_82.svg | 2 +- inherit_graph_83.svg | 2 +- inherit_graph_84.svg | 2 +- inherit_graph_85.svg | 2 +- inherit_graph_86.svg | 2 +- inherit_graph_87.svg | 2 +- inherit_graph_88.svg | 2 +- inherit_graph_89.svg | 2 +- inherit_graph_9.svg | 2 +- inherit_graph_90.svg | 2 +- inherit_graph_91.svg | 2 +- inherit_graph_92.svg | 2 +- inherit_graph_93.svg | 2 +- inherit_graph_94.svg | 2 +- inherit_graph_95.svg | 2 +- inherit_graph_96.svg | 2 +- inherit_graph_97.svg | 2 +- inherit_graph_98.svg | 2 +- inherit_graph_99.svg | 2 +- 969 files changed, 1315 insertions(+), 1356 deletions(-) diff --git a/d0/d04/qr__decompose_8h__incl.svg b/d0/d04/qr__decompose_8h__incl.svg index 6a6cbc3c8..cb76acd49 100644 --- a/d0/d04/qr__decompose_8h__incl.svg +++ b/d0/d04/qr__decompose_8h__incl.svg @@ -1,7 +1,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1
-
14#include <array>
-
15#include <cassert>
-
16#include <cstdint>
-
17#include <iostream>
-
18
-
23namespace ciphers {
-
29namespace base64_encoding {
-
30// chars denoting the format for encoding and decoding array.
-
31// This array is already decided by
-
32// [RFC4648](https://tools.ietf.org/html/rfc4648#section-4) standard
-
33const std::string chars =
-
34 "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
-
41std::string base64_encode(const std::string &input) {
-
42 std::string base64_string;
-
43 // base64 deals with 6-bit chars encoded as per chars, so
-
44 // we will always filter 6-bits from input.
-
45 for (uint32_t i = 0; i < input.size(); i += 3) {
-
46 char first_byte = input[i];
-
47 // Take first six bits of first character.
-
48 // Encode the first six bits with character defined in string `chars`
-
49 base64_string.push_back(chars[first_byte >> 2]);
-
50
-
51 if (i + 1 < input.size()) {
-
52 char second_byte = input[i + 1];
-
53 // Take remaining two bits of first character, and four first bits
-
54 // from second character Combine two numbers as 6-bit digits and
-
55 // encode by array chars (first two bits of first byte and next four
-
56 // of second byte)
-
57 base64_string.push_back(
-
58 chars[(((first_byte & 3) << 4) | ((second_byte & 0xF0) >> 4))]);
-
59
-
60 if (i + 2 < input.size()) {
-
61 char third_byte = input[i + 2];
-
62 // Take remaining four bits of second character, and first two
-
63 // bits from third character Combine two numbers as 6-bit digits
-
64 // and encode by array chars (remaining four bits of second byte
-
65 // and first two of third byte)
-
66 base64_string.push_back(chars[((third_byte & 0xC0) >> 6) |
-
67 ((second_byte & 0x0F) << 2)]);
-
68 // Encode remaining 6-bit of third byte by array chars
-
69 base64_string.push_back(chars[(third_byte & 0x3F)]);
-
70 } else {
-
71 // Take remaining four bits of second character as 6-bit number
-
72 base64_string.push_back(chars[((second_byte & 0x0F) << 2)]);
-
73 base64_string.push_back('='); // padding characters
-
74 }
-
75 } else {
-
76 // Take remaining two bits of first character as 6-bit number
-
77 base64_string.push_back(chars[((first_byte & 3) << 4)]);
+
14#include <cassert>
+
15#include <cstdint>
+
16#include <iostream>
+
17
+
22namespace ciphers {
+
28namespace base64_encoding {
+
29// chars denoting the format for encoding and decoding array.
+
30// This array is already decided by
+
31// [RFC4648](https://tools.ietf.org/html/rfc4648#section-4) standard
+
32const std::string chars =
+
33 "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
+
40std::string base64_encode(const std::string &input) {
+
41 std::string base64_string;
+
42 // base64 deals with 6-bit chars encoded as per chars, so
+
43 // we will always filter 6-bits from input.
+
44 for (uint32_t i = 0; i < input.size(); i += 3) {
+
45 char first_byte = input[i];
+
46 // Take first six bits of first character.
+
47 // Encode the first six bits with character defined in string `chars`
+
48 base64_string.push_back(chars[first_byte >> 2]);
+
49
+
50 if (i + 1 < input.size()) {
+
51 char second_byte = input[i + 1];
+
52 // Take remaining two bits of first character, and four first bits
+
53 // from second character Combine two numbers as 6-bit digits and
+
54 // encode by array chars (first two bits of first byte and next four
+
55 // of second byte)
+
56 base64_string.push_back(
+
57 chars[(((first_byte & 3) << 4) | ((second_byte & 0xF0) >> 4))]);
+
58
+
59 if (i + 2 < input.size()) {
+
60 char third_byte = input[i + 2];
+
61 // Take remaining four bits of second character, and first two
+
62 // bits from third character Combine two numbers as 6-bit digits
+
63 // and encode by array chars (remaining four bits of second byte
+
64 // and first two of third byte)
+
65 base64_string.push_back(chars[((third_byte & 0xC0) >> 6) |
+
66 ((second_byte & 0x0F) << 2)]);
+
67 // Encode remaining 6-bit of third byte by array chars
+
68 base64_string.push_back(chars[(third_byte & 0x3F)]);
+
69 } else {
+
70 // Take remaining four bits of second character as 6-bit number
+
71 base64_string.push_back(chars[((second_byte & 0x0F) << 2)]);
+
72 base64_string.push_back('='); // padding characters
+
73 }
+
74 } else {
+
75 // Take remaining two bits of first character as 6-bit number
+
76 base64_string.push_back(chars[((first_byte & 3) << 4)]);
+
77 base64_string.push_back('='); // padding characters
78 base64_string.push_back('='); // padding characters
-
79 base64_string.push_back('='); // padding characters
-
80 }
-
81 }
-
82 return base64_string;
-
83}
-
91uint8_t find_idx(const char c) {
-
92 if (c >= 'A' && c <= 'Z') {
-
93 return c - 'A';
-
94 } else if (c >= 'a' && c <= 'z') {
-
95 return c - 'a' + 26;
-
96 } else if (c >= '0' && c <= '9') {
-
97 return c - '0' + 52;
-
98 } else if (c == '+') {
-
99 return 62;
-
100 } else if (c == '/') {
-
101 return 63;
-
102 }
-
103 return -1;
-
104}
-
111std::string base64_decode(const std::string &base64_str) {
-
112 std::string
-
113 base64_decoded;
-
114 for (uint32_t i = 0; i < base64_str.size(); i += 4) {
-
116 char first_byte = base64_str[i];
-
118 char second_byte = base64_str[i + 1];
-
119 // Actual str characters are of 8 bits (or 1 byte):
-
120 // :: 8 bits are decode by taking 6 bits from 1st byte of base64 string
-
121 // and first 2 bits from 2nd byte of base64 string.
-
122 char first_actual_byte = static_cast<char>(
-
123 (find_idx(first_byte) << 2) | ((find_idx(second_byte)) >> 4));
-
124 base64_decoded.push_back(first_actual_byte);
-
125 if (i + 2 < base64_str.size() && base64_str[i + 2] != '=') {
-
127 char third_byte = base64_str[i + 2];
-
128 // :: Next 8 bits are decode by taking remaining 4 bits from 2nd
-
129 // byte of base64 string and first 4 bits from 3rd byte of base64
-
130 // string.
-
131 char second_actual_byte =
-
132 static_cast<char>(((find_idx(second_byte) & 0x0F) << 4) |
-
133 (find_idx(third_byte) >> 2));
-
134 base64_decoded.push_back(second_actual_byte);
-
135
-
136 if (i + 3 < base64_str.size() && base64_str[i + 3] != '=') {
-
138 char fourth_byte = base64_str[i + 3];
-
139 // :: Taking remaining 2 bits from 3rd byte of base64 string
-
140 // and all 6 bits from 4th byte of base64 string.
-
141 char third_actual_byte =
-
142 static_cast<char>(((find_idx(third_byte) & 0x03) << 6) |
-
143 find_idx(fourth_byte));
-
144 base64_decoded.push_back(third_actual_byte);
-
145 }
-
146 }
-
147 }
-
148 return base64_decoded;
-
149}
-
150} // namespace base64_encoding
-
151} // namespace ciphers
-
152
-
157static void test() {
-
158 // 1st Test
-
159 std::string str =
-
160 "To err is human, but to really foul things up you need a computer.";
-
161 std::string base64_str = ciphers::base64_encoding::base64_encode(str);
-
162 std::string verify =
-
163 "VG8gZXJyIGlzIGh1bWFuLCBidXQgdG8gcmVhbGx5IGZvdWwgdGhpbmdzIHVwIHlvdSBuZW"
-
164 "VkIGEgY29tcHV0ZXIu";
-
165 // verify encoding
-
166 assert(base64_str == verify);
-
167 std::string original_str =
-
168 ciphers::base64_encoding::base64_decode(base64_str);
-
169 // verify decoding
-
170 assert(original_str == str);
-
171
-
172 // 2nd Test from [Wikipedia](https://en.wikipedia.org/wiki/Base64)
-
173 str =
-
174 "Man is distinguished, not only by his reason, but by this singular "
-
175 "passion from other animals, which is a lust of the mind, that by a "
-
176 "perseverance of delight in the continued and indefatigable generation "
-
177 "of knowledge, exceeds the short vehemence of any carnal pleasure.";
-
178
-
179 base64_str = ciphers::base64_encoding::base64_encode(str);
-
180 verify =
-
181 "TWFuIGlzIGRpc3Rpbmd1aXNoZWQsIG5vdCBvbmx5IGJ5IGhpcyByZWFzb24sIGJ1dCBieS"
-
182 "B0aGlzIHNpbmd1bGFyIHBhc3Npb24gZnJvbSBvdGhlciBhbmltYWxzLCB3aGljaCBpcyBh"
-
183 "IGx1c3Qgb2YgdGhlIG1pbmQsIHRoYXQgYnkgYSBwZXJzZXZlcmFuY2Ugb2YgZGVsaWdodC"
-
184 "BpbiB0aGUgY29udGludWVkIGFuZCBpbmRlZmF0aWdhYmxlIGdlbmVyYXRpb24gb2Yga25v"
-
185 "d2xlZGdlLCBleGNlZWRzIHRoZSBzaG9ydCB2ZWhlbWVuY2Ugb2YgYW55IGNhcm5hbCBwbG"
-
186 "Vhc3VyZS4=";
-
187 // verify encoding
-
188 assert(base64_str == verify);
-
189 original_str = ciphers::base64_encoding::base64_decode(base64_str);
-
190 // verify decoding
-
191 assert(original_str == str);
-
192}
-
193
-
198int main() {
-
199 test(); // run self-test implementations
-
200 return 0;
-
201}
+
79 }
+
80 }
+
81 return base64_string;
+
82}
+
90uint8_t find_idx(const char c) {
+
91 if (c >= 'A' && c <= 'Z') {
+
92 return c - 'A';
+
93 } else if (c >= 'a' && c <= 'z') {
+
94 return c - 'a' + 26;
+
95 } else if (c >= '0' && c <= '9') {
+
96 return c - '0' + 52;
+
97 } else if (c == '+') {
+
98 return 62;
+
99 } else if (c == '/') {
+
100 return 63;
+
101 }
+
102 return -1;
+
103}
+
110std::string base64_decode(const std::string &base64_str) {
+
111 std::string
+
112 base64_decoded;
+
113 for (uint32_t i = 0; i < base64_str.size(); i += 4) {
+
115 char first_byte = base64_str[i];
+
117 char second_byte = base64_str[i + 1];
+
118 // Actual str characters are of 8 bits (or 1 byte):
+
119 // :: 8 bits are decode by taking 6 bits from 1st byte of base64 string
+
120 // and first 2 bits from 2nd byte of base64 string.
+
121 char first_actual_byte = static_cast<char>(
+
122 (find_idx(first_byte) << 2) | ((find_idx(second_byte)) >> 4));
+
123 base64_decoded.push_back(first_actual_byte);
+
124 if (i + 2 < base64_str.size() && base64_str[i + 2] != '=') {
+
126 char third_byte = base64_str[i + 2];
+
127 // :: Next 8 bits are decode by taking remaining 4 bits from 2nd
+
128 // byte of base64 string and first 4 bits from 3rd byte of base64
+
129 // string.
+
130 char second_actual_byte =
+
131 static_cast<char>(((find_idx(second_byte) & 0x0F) << 4) |
+
132 (find_idx(third_byte) >> 2));
+
133 base64_decoded.push_back(second_actual_byte);
+
134
+
135 if (i + 3 < base64_str.size() && base64_str[i + 3] != '=') {
+
137 char fourth_byte = base64_str[i + 3];
+
138 // :: Taking remaining 2 bits from 3rd byte of base64 string
+
139 // and all 6 bits from 4th byte of base64 string.
+
140 char third_actual_byte =
+
141 static_cast<char>(((find_idx(third_byte) & 0x03) << 6) |
+
142 find_idx(fourth_byte));
+
143 base64_decoded.push_back(third_actual_byte);
+
144 }
+
145 }
+
146 }
+
147 return base64_decoded;
+
148}
+
149} // namespace base64_encoding
+
150} // namespace ciphers
+
151
+
156static void test() {
+
157 // 1st Test
+
158 std::string str =
+
159 "To err is human, but to really foul things up you need a computer.";
+
160 std::string base64_str = ciphers::base64_encoding::base64_encode(str);
+
161 std::string verify =
+
162 "VG8gZXJyIGlzIGh1bWFuLCBidXQgdG8gcmVhbGx5IGZvdWwgdGhpbmdzIHVwIHlvdSBuZW"
+
163 "VkIGEgY29tcHV0ZXIu";
+
164 // verify encoding
+
165 assert(base64_str == verify);
+
166 std::string original_str =
+
167 ciphers::base64_encoding::base64_decode(base64_str);
+
168 // verify decoding
+
169 assert(original_str == str);
+
170
+
171 // 2nd Test from [Wikipedia](https://en.wikipedia.org/wiki/Base64)
+
172 str =
+
173 "Man is distinguished, not only by his reason, but by this singular "
+
174 "passion from other animals, which is a lust of the mind, that by a "
+
175 "perseverance of delight in the continued and indefatigable generation "
+
176 "of knowledge, exceeds the short vehemence of any carnal pleasure.";
+
177
+
178 base64_str = ciphers::base64_encoding::base64_encode(str);
+
179 verify =
+
180 "TWFuIGlzIGRpc3Rpbmd1aXNoZWQsIG5vdCBvbmx5IGJ5IGhpcyByZWFzb24sIGJ1dCBieS"
+
181 "B0aGlzIHNpbmd1bGFyIHBhc3Npb24gZnJvbSBvdGhlciBhbmltYWxzLCB3aGljaCBpcyBh"
+
182 "IGx1c3Qgb2YgdGhlIG1pbmQsIHRoYXQgYnkgYSBwZXJzZXZlcmFuY2Ugb2YgZGVsaWdodC"
+
183 "BpbiB0aGUgY29udGludWVkIGFuZCBpbmRlZmF0aWdhYmxlIGdlbmVyYXRpb24gb2Yga25v"
+
184 "d2xlZGdlLCBleGNlZWRzIHRoZSBzaG9ydCB2ZWhlbWVuY2Ugb2YgYW55IGNhcm5hbCBwbG"
+
185 "Vhc3VyZS4=";
+
186 // verify encoding
+
187 assert(base64_str == verify);
+
188 original_str = ciphers::base64_encoding::base64_decode(base64_str);
+
189 // verify decoding
+
190 assert(original_str == str);
+
191}
+
192
+
197int main() {
+
198 test(); // run self-test implementations
+
199 return 0;
+
200}
static void test()
Self-test implementations.
int main()
Main function.
Functions for Base64 Encoding and Decoding implementation.
diff --git a/d1/d1d/pascal__triangle_8cpp__incl.svg b/d1/d1d/pascal__triangle_8cpp__incl.svg index 7375e64b4..730caaece 100644 --- a/d1/d1d/pascal__triangle_8cpp__incl.svg +++ b/d1/d1d/pascal__triangle_8cpp__incl.svg @@ -1,7 +1,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/d1/db8/classothers_1_1_cache_1_1_l_r_u_cache__coll__graph_org.svg b/d1/db8/classothers_1_1_cache_1_1_l_r_u_cache__coll__graph_org.svg index 19743610e..a15d67906 100644 --- a/d1/db8/classothers_1_1_cache_1_1_l_r_u_cache__coll__graph_org.svg +++ b/d1/db8/classothers_1_1_cache_1_1_l_r_u_cache__coll__graph_org.svg @@ -1,7 +1,7 @@ - - - - - - - - - - - - - - diff --git a/d1/dda/structdata__structures_1_1trie__using__hashmap_1_1_trie_1_1_node__coll__graph_org.svg b/d1/dda/structdata__structures_1_1trie__using__hashmap_1_1_trie_1_1_node__coll__graph_org.svg index f95bdc2df..ce607d219 100644 --- a/d1/dda/structdata__structures_1_1trie__using__hashmap_1_1_trie_1_1_node__coll__graph_org.svg +++ b/d1/dda/structdata__structures_1_1trie__using__hashmap_1_1_trie_1_1_node__coll__graph_org.svg @@ -1,7 +1,7 @@ - - - - - - - - - - - - diff --git a/d2/d23/neural__network_8cpp__incl_org.svg b/d2/d23/neural__network_8cpp__incl_org.svg index bd158c980..ad75026af 100644 --- a/d2/d23/neural__network_8cpp__incl_org.svg +++ b/d2/d23/neural__network_8cpp__incl_org.svg @@ -1,7 +1,7 @@ - - - - - - - - - - - - diff --git a/d2/d4b/spirograph_8cpp__incl_org.svg b/d2/d4b/spirograph_8cpp__incl_org.svg index 9ea8b3090..4941ae7d9 100644 --- a/d2/d4b/spirograph_8cpp__incl_org.svg +++ b/d2/d4b/spirograph_8cpp__incl_org.svg @@ -1,7 +1,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/d2/dba/non__preemptive__sjf__scheduling_8cpp__incl_org.svg b/d2/dba/non__preemptive__sjf__scheduling_8cpp__incl_org.svg index 422ff6cd1..ceda8b70e 100644 --- a/d2/dba/non__preemptive__sjf__scheduling_8cpp__incl_org.svg +++ b/d2/dba/non__preemptive__sjf__scheduling_8cpp__incl_org.svg @@ -1,7 +1,7 @@ - - - - - - - - - - - - - - diff --git a/d3/d1a/hill__cipher_8cpp__incl_org.svg b/d3/d1a/hill__cipher_8cpp__incl_org.svg index a88a83066..1cd0d45ca 100644 --- a/d3/d1a/hill__cipher_8cpp__incl_org.svg +++ b/d3/d1a/hill__cipher_8cpp__incl_org.svg @@ -1,7 +1,7 @@ - - - - - - - - - - - - diff --git a/d3/d4c/sha1_8cpp__incl_org.svg b/d3/d4c/sha1_8cpp__incl_org.svg index b4d3fc5f0..b6620d4fb 100644 --- a/d3/d4c/sha1_8cpp__incl_org.svg +++ b/d3/d4c/sha1_8cpp__incl_org.svg @@ -1,7 +1,7 @@ - - - - - - - - - - - - - - - - - - - - - - - This is an implementation of a recursive version of the Bubble sort algorithm More...

#include <algorithm>
-#include <array>
#include <cassert>
#include <cstdint>
#include <iostream>
@@ -128,7 +127,7 @@ $(function(){initNavTree('d3/df9/recursive__bubble__sort_8cpp.html','../../','')
Include dependency graph for recursive_bubble_sort.cpp:
-
+

Go to the source code of this file.

@@ -184,12 +183,12 @@ Algorithm

Main function.

Returns
0 on exit
-

Definition at line 155 of file recursive_bubble_sort.cpp.

-
155 {
-
156 test(); // run self-test implementations
-
157 return 0;
-
158}
-
static void test()
Self-test implementations.
+

Definition at line 154 of file recursive_bubble_sort.cpp.

+
154 {
+
155 test(); // run self-test implementations
+
156 return 0;
+
157}
+
static void test()
Self-test implementations.
@@ -219,53 +218,53 @@ Algorithm

Self-test implementations.

Returns
void
-

Definition at line 105 of file recursive_bubble_sort.cpp.

-
105 {
-
106 // 1st example. Creating an array of type `int`.
-
107 std::cout << "1st test using `int`\n";
-
108 const uint64_t size = 6;
-
109 std::vector<int64_t> arr;
-
110 // populating the array
-
111 arr.push_back(22);
-
112 arr.push_back(46);
-
113 arr.push_back(94);
-
114 arr.push_back(12);
-
115 arr.push_back(37);
-
116 arr.push_back(63);
-
117 // array populating ends
-
118
- -
120 assert(std::is_sorted(std::begin(arr), std::end(arr)));
-
121 std::cout << " 1st test passed!\n";
-
122 // printing the array
-
123 for (uint64_t i = 0; i < size; i++) {
-
124 std::cout << arr[i] << ", ";
-
125 }
-
126 std::cout << std::endl;
-
127
-
128 // 2nd example. Creating an array of type `double`.
-
129 std::cout << "2nd test using doubles\n";
-
130 std::vector<double> double_arr;
-
131
-
132 // populating the array
-
133 double_arr.push_back(20.4);
-
134 double_arr.push_back(62.7);
-
135 double_arr.push_back(12.2);
-
136 double_arr.push_back(43.6);
-
137 double_arr.push_back(74.1);
-
138 double_arr.push_back(57.9);
-
139 // array populating ends
-
140
-
141 sorting::recursive_bubble_sort(&double_arr, size);
-
142 assert(std::is_sorted(std::begin(double_arr), std::end(double_arr)));
-
143 std::cout << " 2nd test passed!\n";
-
144 // printing the array
-
145 for (uint64_t i = 0; i < size; i++) {
-
146 std::cout << double_arr[i] << ", ";
-
147 }
-
148 std::cout << std::endl;
-
149}
-
void recursive_bubble_sort(std::vector< T > *nums, uint64_t n)
This is an implementation of the recursive_bubble_sort. A vector is passed to the function which is t...
+

Definition at line 104 of file recursive_bubble_sort.cpp.

+
104 {
+
105 // 1st example. Creating an array of type `int`.
+
106 std::cout << "1st test using `int`\n";
+
107 const uint64_t size = 6;
+
108 std::vector<int64_t> arr;
+
109 // populating the array
+
110 arr.push_back(22);
+
111 arr.push_back(46);
+
112 arr.push_back(94);
+
113 arr.push_back(12);
+
114 arr.push_back(37);
+
115 arr.push_back(63);
+
116 // array populating ends
+
117
+ +
119 assert(std::is_sorted(std::begin(arr), std::end(arr)));
+
120 std::cout << " 1st test passed!\n";
+
121 // printing the array
+
122 for (uint64_t i = 0; i < size; i++) {
+
123 std::cout << arr[i] << ", ";
+
124 }
+
125 std::cout << std::endl;
+
126
+
127 // 2nd example. Creating an array of type `double`.
+
128 std::cout << "2nd test using doubles\n";
+
129 std::vector<double> double_arr;
+
130
+
131 // populating the array
+
132 double_arr.push_back(20.4);
+
133 double_arr.push_back(62.7);
+
134 double_arr.push_back(12.2);
+
135 double_arr.push_back(43.6);
+
136 double_arr.push_back(74.1);
+
137 double_arr.push_back(57.9);
+
138 // array populating ends
+
139
+
140 sorting::recursive_bubble_sort(&double_arr, size);
+
141 assert(std::is_sorted(std::begin(double_arr), std::end(double_arr)));
+
142 std::cout << " 2nd test passed!\n";
+
143 // printing the array
+
144 for (uint64_t i = 0; i < size; i++) {
+
145 std::cout << double_arr[i] << ", ";
+
146 }
+
147 std::cout << std::endl;
+
148}
+
void recursive_bubble_sort(std::vector< T > *nums, uint64_t n)
This is an implementation of the recursive_bubble_sort. A vector is passed to the function which is t...
diff --git a/d3/df9/recursive__bubble__sort_8cpp_source.html b/d3/df9/recursive__bubble__sort_8cpp_source.html index ff2b797b0..eedb1178f 100644 --- a/d3/df9/recursive__bubble__sort_8cpp_source.html +++ b/d3/df9/recursive__bubble__sort_8cpp_source.html @@ -119,90 +119,89 @@ $(function(){initNavTree('d3/df9/recursive__bubble__sort_8cpp_source.html','../. Go to the documentation of this file.
1
59
60#include <algorithm>
-
61#include <array>
-
62#include <cassert>
-
63#include <cstdint>
-
64#include <iostream>
-
65#include <vector>
-
66
-
71namespace sorting {
-
72
-
83template <typename T>
-
-
84void recursive_bubble_sort(std::vector<T> *nums, uint64_t n) {
-
85 if (n == 1) {
-
86 return;
-
87 }
-
88
-
89 for (uint64_t i = 0; i < n - 1; i++) {
-
91 if ((*nums)[i] > (*nums)[i + 1]) {
-
92 std::swap((*nums)[i], (*nums)[i + 1]);
-
93 }
-
94 }
-
95
-
97 recursive_bubble_sort(nums, n - 1);
-
98}
+
61#include <cassert>
+
62#include <cstdint>
+
63#include <iostream>
+
64#include <vector>
+
65
+
70namespace sorting {
+
71
+
82template <typename T>
+
+
83void recursive_bubble_sort(std::vector<T> *nums, uint64_t n) {
+
84 if (n == 1) {
+
85 return;
+
86 }
+
87
+
88 for (uint64_t i = 0; i < n - 1; i++) {
+
90 if ((*nums)[i] > (*nums)[i + 1]) {
+
91 std::swap((*nums)[i], (*nums)[i + 1]);
+
92 }
+
93 }
+
94
+
96 recursive_bubble_sort(nums, n - 1);
+
97}
-
99} // namespace sorting
-
100
-
-
105static void test() {
-
106 // 1st example. Creating an array of type `int`.
-
107 std::cout << "1st test using `int`\n";
-
108 const uint64_t size = 6;
-
109 std::vector<int64_t> arr;
-
110 // populating the array
-
111 arr.push_back(22);
-
112 arr.push_back(46);
-
113 arr.push_back(94);
-
114 arr.push_back(12);
-
115 arr.push_back(37);
-
116 arr.push_back(63);
-
117 // array populating ends
-
118
- -
120 assert(std::is_sorted(std::begin(arr), std::end(arr)));
-
121 std::cout << " 1st test passed!\n";
-
122 // printing the array
-
123 for (uint64_t i = 0; i < size; i++) {
-
124 std::cout << arr[i] << ", ";
-
125 }
-
126 std::cout << std::endl;
-
127
-
128 // 2nd example. Creating an array of type `double`.
-
129 std::cout << "2nd test using doubles\n";
-
130 std::vector<double> double_arr;
-
131
-
132 // populating the array
-
133 double_arr.push_back(20.4);
-
134 double_arr.push_back(62.7);
-
135 double_arr.push_back(12.2);
-
136 double_arr.push_back(43.6);
-
137 double_arr.push_back(74.1);
-
138 double_arr.push_back(57.9);
-
139 // array populating ends
-
140
-
141 sorting::recursive_bubble_sort(&double_arr, size);
-
142 assert(std::is_sorted(std::begin(double_arr), std::end(double_arr)));
-
143 std::cout << " 2nd test passed!\n";
-
144 // printing the array
-
145 for (uint64_t i = 0; i < size; i++) {
-
146 std::cout << double_arr[i] << ", ";
-
147 }
-
148 std::cout << std::endl;
-
149}
+
98} // namespace sorting
+
99
+
+
104static void test() {
+
105 // 1st example. Creating an array of type `int`.
+
106 std::cout << "1st test using `int`\n";
+
107 const uint64_t size = 6;
+
108 std::vector<int64_t> arr;
+
109 // populating the array
+
110 arr.push_back(22);
+
111 arr.push_back(46);
+
112 arr.push_back(94);
+
113 arr.push_back(12);
+
114 arr.push_back(37);
+
115 arr.push_back(63);
+
116 // array populating ends
+
117
+ +
119 assert(std::is_sorted(std::begin(arr), std::end(arr)));
+
120 std::cout << " 1st test passed!\n";
+
121 // printing the array
+
122 for (uint64_t i = 0; i < size; i++) {
+
123 std::cout << arr[i] << ", ";
+
124 }
+
125 std::cout << std::endl;
+
126
+
127 // 2nd example. Creating an array of type `double`.
+
128 std::cout << "2nd test using doubles\n";
+
129 std::vector<double> double_arr;
+
130
+
131 // populating the array
+
132 double_arr.push_back(20.4);
+
133 double_arr.push_back(62.7);
+
134 double_arr.push_back(12.2);
+
135 double_arr.push_back(43.6);
+
136 double_arr.push_back(74.1);
+
137 double_arr.push_back(57.9);
+
138 // array populating ends
+
139
+
140 sorting::recursive_bubble_sort(&double_arr, size);
+
141 assert(std::is_sorted(std::begin(double_arr), std::end(double_arr)));
+
142 std::cout << " 2nd test passed!\n";
+
143 // printing the array
+
144 for (uint64_t i = 0; i < size; i++) {
+
145 std::cout << double_arr[i] << ", ";
+
146 }
+
147 std::cout << std::endl;
+
148}
-
150
-
-
155int main() {
-
156 test(); // run self-test implementations
-
157 return 0;
-
158}
+
149
+
+
154int main() {
+
155 test(); // run self-test implementations
+
156 return 0;
+
157}
for working with vectors
-
void recursive_bubble_sort(std::vector< T > *nums, uint64_t n)
This is an implementation of the recursive_bubble_sort. A vector is passed to the function which is t...
-
static void test()
Self-test implementations.
-
int main()
Main function.
+
void recursive_bubble_sort(std::vector< T > *nums, uint64_t n)
This is an implementation of the recursive_bubble_sort. A vector is passed to the function which is t...
+
static void test()
Self-test implementations.
+
int main()
Main function.
diff --git a/d3/dfd/trie__using__hashmap_8cpp__incl.svg b/d3/dfd/trie__using__hashmap_8cpp__incl.svg index fddaee8b7..94c87372c 100644 --- a/d3/dfd/trie__using__hashmap_8cpp__incl.svg +++ b/d3/dfd/trie__using__hashmap_8cpp__incl.svg @@ -1,7 +1,7 @@ - - - - - - - - - - - - - diff --git a/d4/d26/durand__kerner__roots_8cpp__incl_org.svg b/d4/d26/durand__kerner__roots_8cpp__incl_org.svg index 49ffa5936..2a91de311 100644 --- a/d4/d26/durand__kerner__roots_8cpp__incl_org.svg +++ b/d4/d26/durand__kerner__roots_8cpp__incl_org.svg @@ -1,7 +1,7 @@ - - - - - - diff --git a/d4/d2f/fcfs__scheduling_8cpp__incl_org.svg b/d4/d2f/fcfs__scheduling_8cpp__incl_org.svg index 5bae84638..c24a21aee 100644 --- a/d4/d2f/fcfs__scheduling_8cpp__incl_org.svg +++ b/d4/d2f/fcfs__scheduling_8cpp__incl_org.svg @@ -1,7 +1,7 @@ - - diff --git a/d4/d53/classothers_1_1_cache_1_1_l_f_u_cache__coll__graph_org.svg b/d4/d53/classothers_1_1_cache_1_1_l_f_u_cache__coll__graph_org.svg index 2e96c31ae..9ab29ecde 100644 --- a/d4/d53/classothers_1_1_cache_1_1_l_f_u_cache__coll__graph_org.svg +++ b/d4/d53/classothers_1_1_cache_1_1_l_f_u_cache__coll__graph_org.svg @@ -1,7 +1,7 @@ - - - - - - diff --git a/d4/d60/kohonen__som__trace_8cpp__incl_org.svg b/d4/d60/kohonen__som__trace_8cpp__incl_org.svg index 66eecdc47..a603e1b7b 100644 --- a/d4/d60/kohonen__som__trace_8cpp__incl_org.svg +++ b/d4/d60/kohonen__som__trace_8cpp__incl_org.svg @@ -1,7 +1,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Sorting algorithms

for std::is_sorted(), std::swap() for std::array for assert for initializing random number generator for IO operations

Sorting algorithms

-

for std::is_sorted for std::array for IO operations for std::vector

+

for std::is_sorted for IO operations for std::vector

Sorting algorithms

for std::is_sorted for IO operations for std::vector

for std::is_sorted for assert for std::swap and io operations

@@ -1127,21 +1127,21 @@ template<typename T>

< iterating over the entire array

< if a larger number appears before the smaller one, swap them.

-

Definition at line 84 of file recursive_bubble_sort.cpp.

-
84 {
-
85 if (n == 1) {
-
86 return;
-
87 }
-
88
-
89 for (uint64_t i = 0; i < n - 1; i++) {
-
91 if ((*nums)[i] > (*nums)[i + 1]) {
-
92 std::swap((*nums)[i], (*nums)[i + 1]);
-
93 }
-
94 }
-
95
-
97 recursive_bubble_sort(nums, n - 1);
-
98}
-
void recursive_bubble_sort(std::vector< T > *nums, uint64_t n)
This is an implementation of the recursive_bubble_sort. A vector is passed to the function which is t...
+

Definition at line 83 of file recursive_bubble_sort.cpp.

+
83 {
+
84 if (n == 1) {
+
85 return;
+
86 }
+
87
+
88 for (uint64_t i = 0; i < n - 1; i++) {
+
90 if ((*nums)[i] > (*nums)[i + 1]) {
+
91 std::swap((*nums)[i], (*nums)[i + 1]);
+
92 }
+
93 }
+
94
+
96 recursive_bubble_sort(nums, n - 1);
+
97}
+
void recursive_bubble_sort(std::vector< T > *nums, uint64_t n)
This is an implementation of the recursive_bubble_sort. A vector is passed to the function which is t...
diff --git a/d5/d95/binary__addition_8cpp__incl.svg b/d5/d95/binary__addition_8cpp__incl.svg index 21b89d457..b4272a000 100644 --- a/d5/d95/binary__addition_8cpp__incl.svg +++ b/d5/d95/binary__addition_8cpp__incl.svg @@ -1,7 +1,7 @@ - - - - - - - - - - - - - - - diff --git a/d5/dcd/kohonen__som__topology_8cpp__incl_org.svg b/d5/dcd/kohonen__som__topology_8cpp__incl_org.svg index 319ab821d..b18f59301 100644 --- a/d5/dcd/kohonen__som__topology_8cpp__incl_org.svg +++ b/d5/dcd/kohonen__som__topology_8cpp__incl_org.svg @@ -1,7 +1,7 @@ - - - - - - - - - - - - - - - - - - - - - - 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 3c07b5967..83a53984e 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,7 +1,7 @@ - - - - -

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 assert operations for IO operations

Cipher algorithms

for assert for 256-bit integer

Cipher algorithms

diff --git a/d6/d5c/travelling__salesman__problem_8cpp__incl.svg b/d6/d5c/travelling__salesman__problem_8cpp__incl.svg index 5f43a8fd1..0759f4783 100644 --- a/d6/d5c/travelling__salesman__problem_8cpp__incl.svg +++ b/d6/d5c/travelling__salesman__problem_8cpp__incl.svg @@ -1,7 +1,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/d7/da7/adaline__learning_8cpp__incl_org.svg b/d7/da7/adaline__learning_8cpp__incl_org.svg index 86e501405..53a8bf2cc 100644 --- a/d7/da7/adaline__learning_8cpp__incl_org.svg +++ b/d7/da7/adaline__learning_8cpp__incl_org.svg @@ -1,7 +1,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/d8/dc0/heavy__light__decomposition_8cpp__incl_org.svg b/d8/dc0/heavy__light__decomposition_8cpp__incl_org.svg index 01b6481c4..f53dac040 100644 --- a/d8/dc0/heavy__light__decomposition_8cpp__incl_org.svg +++ b/d8/dc0/heavy__light__decomposition_8cpp__incl_org.svg @@ -1,7 +1,7 @@ - - - - - - - - - - - - - - + - - - - - - - - - - - + + + + + + + + + diff --git a/d9/d31/recursive__bubble__sort_8cpp__incl.md5 b/d9/d31/recursive__bubble__sort_8cpp__incl.md5 index 2d413e497..1c5062e15 100644 --- a/d9/d31/recursive__bubble__sort_8cpp__incl.md5 +++ b/d9/d31/recursive__bubble__sort_8cpp__incl.md5 @@ -1 +1 @@ -a34d55f409021b818979a1fe196f30b2 \ No newline at end of file +ece42388bbc490cf68c1e111af58e328 \ No newline at end of file diff --git a/d9/d31/recursive__bubble__sort_8cpp__incl.svg b/d9/d31/recursive__bubble__sort_8cpp__incl.svg index 5b8c73cbd..1ec41c646 100644 --- a/d9/d31/recursive__bubble__sort_8cpp__incl.svg +++ b/d9/d31/recursive__bubble__sort_8cpp__incl.svg @@ -1,11 +1,11 @@ - - + @@ -23,9 +23,9 @@ Node1 - -sorting/recursive_bubble -_sort.cpp + +sorting/recursive_bubble +_sort.cpp @@ -42,8 +42,8 @@ Node1->Node2 - - + + @@ -51,8 +51,8 @@ Node3 - -array + +cassert @@ -60,8 +60,8 @@ Node1->Node3 - - + + @@ -69,8 +69,8 @@ Node4 - -cassert + +cstdint @@ -78,8 +78,8 @@ Node1->Node4 - - + + @@ -87,8 +87,8 @@ Node5 - -cstdint + +iostream @@ -96,8 +96,8 @@ Node1->Node5 - - + + @@ -105,8 +105,8 @@ Node6 - -iostream + +vector @@ -114,26 +114,8 @@ Node1->Node6 - - - - - - - -Node7 - - -vector - - - - - -Node1->Node7 - - - + + diff --git a/d9/d31/recursive__bubble__sort_8cpp__incl_org.svg b/d9/d31/recursive__bubble__sort_8cpp__incl_org.svg index 3d47889b1..8b847aa92 100644 --- a/d9/d31/recursive__bubble__sort_8cpp__incl_org.svg +++ b/d9/d31/recursive__bubble__sort_8cpp__incl_org.svg @@ -1,20 +1,20 @@ - - + sorting/recursive_bubble_sort.cpp Node1 - -sorting/recursive_bubble -_sort.cpp + +sorting/recursive_bubble +_sort.cpp @@ -31,8 +31,8 @@ Node1->Node2 - - + + @@ -40,8 +40,8 @@ Node3 - -array + +cassert @@ -49,8 +49,8 @@ Node1->Node3 - - + + @@ -58,8 +58,8 @@ Node4 - -cassert + +cstdint @@ -67,8 +67,8 @@ Node1->Node4 - - + + @@ -76,8 +76,8 @@ Node5 - -cstdint + +iostream @@ -85,8 +85,8 @@ Node1->Node5 - - + + @@ -94,8 +94,8 @@ Node6 - -iostream + +vector @@ -103,26 +103,8 @@ Node1->Node6 - - - - - - - -Node7 - - -vector - - - - - -Node1->Node7 - - - + + diff --git a/d9/d33/quick__sort__iterative_8cpp__incl.svg b/d9/d33/quick__sort__iterative_8cpp__incl.svg index c8a989c3e..aabda8c84 100644 --- a/d9/d33/quick__sort__iterative_8cpp__incl.svg +++ b/d9/d33/quick__sort__iterative_8cpp__incl.svg @@ -1,7 +1,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/da/d32/classdata__structures_1_1trie__using__hashmap_1_1_trie__coll__graph_org.svg b/da/d32/classdata__structures_1_1trie__using__hashmap_1_1_trie__coll__graph_org.svg index 70de97eea..91ddb3c70 100644 --- a/da/d32/classdata__structures_1_1trie__using__hashmap_1_1_trie__coll__graph_org.svg +++ b/da/d32/classdata__structures_1_1trie__using__hashmap_1_1_trie__coll__graph_org.svg @@ -1,7 +1,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dc/dd2/sha256_8cpp__incl_org.svg b/dc/dd2/sha256_8cpp__incl_org.svg index 62946ec46..877840ba4 100644 --- a/dc/dd2/sha256_8cpp__incl_org.svg +++ b/dc/dd2/sha256_8cpp__incl_org.svg @@ -1,7 +1,7 @@ - - - - diff --git a/dc/dd9/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d__coll__graph_org.svg b/dc/dd9/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d__coll__graph_org.svg index 265fee3ee..6d42b3575 100644 --- a/dc/dd9/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d__coll__graph_org.svg +++ b/dc/dd9/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d__coll__graph_org.svg @@ -1,7 +1,7 @@ - - - - - - - - - - - - - - - - - - diff --git a/dd/d0f/md5_8cpp__incl_org.svg b/dd/d0f/md5_8cpp__incl_org.svg index 9b6b1889b..502874592 100644 --- a/dd/d0f/md5_8cpp__incl_org.svg +++ b/dd/d0f/md5_8cpp__incl_org.svg @@ -1,7 +1,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/df/dd6/a1z26__cipher_8cpp__incl_org.svg b/df/dd6/a1z26__cipher_8cpp__incl_org.svg index 7563407a5..6e7d94b0b 100644 --- a/df/dd6/a1z26__cipher_8cpp__incl_org.svg +++ b/df/dd6/a1z26__cipher_8cpp__incl_org.svg @@ -1,7 +1,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -