Skip to content
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

feature: initial data structures #11

Draft
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

* chore(deps): add lodash and rimraf

Lodash for utils, rimraf for new clean script to remove dist dir

* chore(config): update tsconfig.json

* docs(readme): update README with Linked List

* chore(deps): remove lint-staged and husky

Was causing failure. Running lint in the CI, so lint-staged and husky aren't really necessary

* feat(linked_list): add linked list

Implement linked list in TypeScript

* test(linked_list): add tests for linked list implementation
@joshuagraber joshuagraber marked this pull request as ready for review August 24, 2023 00:19
@joshuagraber joshuagraber marked this pull request as draft August 24, 2023 00:21
@joshuagraber joshuagraber changed the title feature: linked list feature: initial data structures Aug 24, 2023
* build(modules): update to handle cjs and esm modules

* chore(cleanup): remove extra comments
@joshuagraber joshuagraber marked this pull request as ready for review August 27, 2023 10:55
Copy link
Owner Author

@joshuagraber joshuagraber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove unnecessary es-lint comments

@joshuagraber joshuagraber marked this pull request as draft August 27, 2023 11:45
joshuagraber and others added 3 commits August 28, 2023 05:35
* chore(comments): update LL comments

* feat(stack): implement Stack data structure in TypeScript

* test(stack): add test for Stack data structure
* refactor(stack): add missing return types

* docs(stack): add documentation for the Stack data structure
@joshuagraber joshuagraber force-pushed the feature/data-stuctures-initial branch 3 times, most recently from 7a2d662 to 71d5d7b Compare August 29, 2023 15:16
joshuagraber and others added 3 commits August 30, 2023 11:38
* feat(queues): implement queue and deque

* refactor(data-structures): miscellaneous cleanup of stack and linked list

Constructor func: passes comparison func to LL regardless of type, update comments

* test(queues): add tests for queue and deque

* docs(readme): add queue and deque to documentation

* refactor(tests): update miscellaneous inconsistencies in tests
* build(scripts): update package script

* feat(circular buffer): implement circular buffer

* test(circular buffer): add test for circular buffer

* docs(readme): add documentation for circular buffer

* refactor(tests): update incorrect var name in deque test
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.

None yet

1 participant