* implemented CycleTectionII code
* changes made per review by appgurueu
* made the changes per review by appgurueu
* changes made per review by appgurueu
* did some changes
* fixed the test file with prettier
* Simplify code, renames for clarity
---------
Co-authored-by: Lars Mueller <appgurulars@gmx.de>
* feat: add mergeTwoSortedLinkedLIsts algorithms
* remove class and unnecessary function
change the function params and return value from Node to LinkedList.
* chore: Switch to Node 20 + Vitest
* chore: migrate to vitest mock functions
* chore: code style (switch to prettier)
* test: re-enable long-running test
Seems the switch to Node 20 and Vitest has vastly improved the code's and / or the test's runtime!
see #1193
* chore: code style
* chore: fix failing tests
* Updated Documentation in README.md
* Update contribution guidelines to state usage of Prettier
* fix: set prettier printWidth back to 80
* chore: apply updated code style automatically
* fix: set prettier line endings to lf again
* chore: apply updated code style automatically
---------
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com>
* fix error in SinglyLinkedList head method
* test: update check head test for SinglyLinkedList
* fix: code style error
* fix: remove extra semicolons
---------
Co-authored-by: Bekzod <bekzodisakov18@gmail.com>
* Added Middle of linked-list implementation.
* Added Middle of LL function and tests
* Refactor: Added method in singly LL and its tests
* Refactor: Method name and inline test calls
* Use `!== null` instead of `!= null`
Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com>
* Add test case to jump search Algorithm
* Updated Documentation in README.md
* Remove commented code
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
* fixed some spellings
* Update Data-Structures/Linked-List/SinglyLinkList.js
Co-authored-by: Rak Laptudirm <raklaptudirm@gmail.com>
Co-authored-by: Rak Laptudirm <raklaptudirm@gmail.com>