mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-02-11 14:36:25 +08:00
feat: Add MD5 Hashing Algorithm (#1595)
* clang-format and clang-tidy fixes for89d118bb* feat: add md5 hashing algorithm, namespace md5 * updating DIRECTORY.md * docs: added missing docs and cleared syntax * Added newline at the end of file * clang-format and clang-tidy fixes forb7b32ac7* Comments for libs, put global funcs as static * clang-format and clang-tidy fixes ford5da4807* docs: added additional comments * docs: Fixed some newlines in doxygen docs * Changed incorrect comment * Fixed docs & cleared potential endianness problems * Removed useless line * Clarified how to exit interactive mode * Better wording * Improved interactive mode Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com> Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
@@ -52,7 +52,8 @@ namespace selection_sort_recursive {
|
||||
* @returns index of the minimum element
|
||||
*/
|
||||
template <typename T>
|
||||
uint64_t findMinIndex(const std::vector<T> &in_arr, uint64_t current_position = 0) {
|
||||
uint64_t findMinIndex(const std::vector<T> &in_arr,
|
||||
uint64_t current_position = 0) {
|
||||
if (current_position + 1 == in_arr.size()) {
|
||||
return current_position;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user