Skip to content

Fix: refactor reverse linked list using recursion to match style guidelines#3184

Open
TiasPal wants to merge 1 commit into
TheAlgorithms:masterfrom
TiasPal:master
Open

Fix: refactor reverse linked list using recursion to match style guidelines#3184
TiasPal wants to merge 1 commit into
TheAlgorithms:masterfrom
TiasPal:master

Conversation

@TiasPal

@TiasPal TiasPal commented Jun 26, 2026

Copy link
Copy Markdown

Refactored reverse_a_linked_list_using_recusion.cpp to match repository style guidelines:

  • Removed global variables
  • Wrapped code in data_structures::linked_list namespaces
  • Replaced node struct with proper Node class
  • Removed using namespace std
  • Added Doxygen documentation on all functions
  • Replaced print-based main with assert-based self-tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant