TheAlgorithms-C-Plus-Plus/others
Motasim 47c84137ee
feat: Added implementation of iterative version of tree traversals. (#1506)
* feat: Added iterative version of tree traversals.

Here is the implementation of the iterative version of the Preorder, Postorder, and the Inorder traversal of given tree.
.
Time Complexity: O(n), where 'n' is the total number of nodes in a tree.

* updating DIRECTORY.md

* fixed: function descriptions, namespace declaration, and included separate libraries.

* fixed: added range bases for loops.

* style: proper indentation

Co-authored-by: David Leal <halfpacho@gmail.com>

* style: proper indentation

Co-authored-by: David Leal <halfpacho@gmail.com>

* style: proper indentation

Co-authored-by: David Leal <halfpacho@gmail.com>

* fix: C style NULL to nullptr

Co-authored-by: David Leal <halfpacho@gmail.com>

* docs: spell correction

Co-authored-by: David Leal <halfpacho@gmail.com>

* style: formatted comments.

* fixes: static_cast, if and for statement braces

* style: modified pointer declaration.

* fixes: removed use of typedef, renamed BT to Node

* Fix `clang-tidy` warnings

* fix: Try to fix `clang-tidy` warnings this time

* docs: Proper function description

Co-authored-by: Mann Patel <46739555+manncodes@users.noreply.github.com>

* fix: Class based approach

* docs: Proper formatted comment

Co-authored-by: David Leal <halfpacho@gmail.com>

* docs: Proper indentation

Co-authored-by: David Leal <halfpacho@gmail.com>

* fix: Initialized data variable

Co-authored-by: David Leal <halfpacho@gmail.com>

* docs: Proper formatted comment

Co-authored-by: David Leal <halfpacho@gmail.com>

* docs: Proper indentation

Co-authored-by: David Leal <halfpacho@gmail.com>

* docs: Proper formatted comment

Co-authored-by: David Leal <halfpacho@gmail.com>

* docs: Proper function description

Co-authored-by: David Leal <halfpacho@gmail.com>

* docs: Removed unnecessary comment

Co-authored-by: David Leal <halfpacho@gmail.com>

* docs: Proper formatted comment

Co-authored-by: David Leal <halfpacho@gmail.com>

* docs: Proper function description

* docs: Proper variables description

Co-authored-by: Mann Patel <46739555+manncodes@users.noreply.github.com>

* docs: Included variables description

Co-authored-by: Mann Patel <46739555+manncodes@users.noreply.github.com>

* docs: Included variables description

Co-authored-by: Mann Patel <46739555+manncodes@users.noreply.github.com>

* docs: Proper variables description

Co-authored-by: Mann Patel <46739555+manncodes@users.noreply.github.com>

* fixes: Self-test implementation and namespace

* docs: Documentation improvements

* docs: Proper formatted description

Co-authored-by: David Leal <halfpacho@gmail.com>

* docs: Proper formatted description

Co-authored-by: David Leal <halfpacho@gmail.com>

* docs: Proper formatted description

Co-authored-by: David Leal <halfpacho@gmail.com>

* docs: Proper formatted description

Co-authored-by: David Leal <halfpacho@gmail.com>

* docs: Proper indentation

Co-authored-by: David Leal <halfpacho@gmail.com>

* docs: Proper formatted description

Co-authored-by: David Leal <halfpacho@gmail.com>

* docs: Improved function description

* docs: Proper formatted description

Co-authored-by: David Leal <halfpacho@gmail.com>

* test: Added test cases for negative values

* docs: Proper description

Co-authored-by: David Leal <halfpacho@gmail.com>

* docs: Proper formatted comment

Co-authored-by: David Leal <halfpacho@gmail.com>

* docs: Proper formatted comment

Co-authored-by: David Leal <halfpacho@gmail.com>

* docs: Proper function description

Co-authored-by: David Leal <halfpacho@gmail.com>

* docs: Proper formatted description

Co-authored-by: David Leal <halfpacho@gmail.com>

* docs: Proper description

Co-authored-by: David Leal <halfpacho@gmail.com>

* docs: Proper description

Co-authored-by: David Leal <halfpacho@gmail.com>

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: Mann Patel <46739555+manncodes@users.noreply.github.com>
2021-07-05 19:32:41 -05:00
..
buzz_number.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
CMakeLists.txt Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
decimal_to_binary.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
decimal_to_hexadecimal.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
decimal_to_roman_numeral.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
fast_integer_input.cpp fix typo: (rename file) fast_interger_input -> fast_integer_input 2020-08-24 01:19:39 +05:30
happy_number.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
iterative_tree_traversals.cpp feat: Added implementation of iterative version of tree traversals. (#1506) 2021-07-05 19:32:41 -05:00
matrix_exponentiation.cpp formatting source-code for a190674131 2020-06-24 22:28:10 +00:00
palindrome_of_number.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
paranthesis_matching.cpp docs: Change variable names 2020-06-23 18:45:56 -05:00
pascal_triangle.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
postfix_evaluation.cpp feat: Added Postfix Evaluation (#1083) 2020-09-30 13:48:39 -05:00
primality_test.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
smallest_circle.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
sparse_matrix.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
spiral_print.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
stairs_pattern.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
tower_of_hanoi.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
vector_important_functions.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30