Skip to content

Fix misleading phrase "arrays of lists" in stack implementation description #253

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

danmondra
Copy link

This PR fixes a minor but potentially confusing phrase in the explanation of stack implementations. This small change is intended to provide clarity to readers.

The original sentence:

"We can make use of linked lists or arrays of lists."

has been updated to:

"Stacks can be implemented using either arrays or linked lists."

Reason for Change

The phrase "arrays of lists" is misleading when discussing stack implementations. It may suggest a 2D structure or a collection of lists, which is not relevant for implementing a basic stack. Stacks are most commonly implemented using either:

  1. Arrays (for static or dynamic sizing)
  2. Linked lists (for dynamic memory usage)

Copy link

This pull request has been automatically marked as abandoned because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label May 11, 2025
Copy link

Please ping one of the maintainers once you commit the changes requested or make improvements on the code. If this is not the case and you need some help, feel free to ask for help in our Gitter channel. Thank you for your contributions!

@github-actions github-actions bot closed this May 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant