Skip to content

FEAT: List and Linked List Data Packages + Linked List Mergesort Algorithm #90

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

Open
wants to merge 91 commits into
base: 2024_sem2
Choose a base branch
from

Conversation

jiafeilin1
Copy link

@jiafeilin1 jiafeilin1 commented Nov 13, 2024

Changes Overview:

The team were tasked with creating a linked list package, list package and demonstrate an implementation of the linked list package using a merge sort algorithm. Functionality of each package includes the ability to: intialise, insert, delete, search, swap, split, etc. as each package was created for the purpose of being used for future sorting algorithms in the future.

IT_Project_Demo_-_Made_with_Clipchamp.mp4

Data Package Additions:

LinkedListTracer  

LinkedListRenderer 

LinkedListRenderer.module  

ListTracer 

ListRenderer 

ListRenderer.module 

Mergesort Implementation:

This has been completed in the controller file labelled “msort_linkedlist.js”. This is shown on the vercel under the tab: Merge Sort (Linked Lists) and includes a demonstration of how to use the Linked List package with a top-down mergesort algorithm.

Testing:

Testing has been completed for the linked list package for a variety of cases, including:

Empty set 

Single element 

Ascending/ Descending list 

Odd/ Even numbers list 

List with duplicates 

List of negative/ positive and negative numbers 

List of identical elements 

Invalid inputs (elements of other types) 

Decimal numbers 

More information about the automatic testing can be found in the handover documentation.

Documentation:

Documentation can be found in the pull request under the PDF labelled ‘Handover Documentation – Linked List Package, List Package and Linked List Merge Sort ’. This includes information about the project, requirements, system requirements, installation, our changes, and testing.

Vercel

https://itproject-team2.vercel.app/

jiafeilin1 and others added 30 commits August 13, 2024 21:57
…orithm isn't up and running yet with issues around parameters and controllers not being recognised.
# Conflicts:
#	src/algorithms/controllers/Prototype.js
#	src/algorithms/parameters/index.js
Improved Warshall's etc
… booleans. Removed last debugging console log lines.
…now have the "placeholder" bookmark that needs to be changed later
…ointer visuals. Updated visuals for default box. Fixed implementation of swap elements + added swapAction into controller.
…nd list tracer and controller chunks required to facilitate
…tiple list support, new functions and tracking ids
…d new functions in the linked list tracer to support this change
jiafeilin1 and others added 24 commits November 12, 2024 21:11
'Test': Test suite implemented and tested
"Test": More test cases implemented and bugs fixed
@jiafeilin1 jiafeilin1 changed the title FEAT: List and Linked List Data Packages + Linked List Mergesort Algorithm (DRAFT) FEAT: List and Linked List Data Packages + Linked List Mergesort Algorithm Nov 15, 2024
@jiafeilin1 jiafeilin1 marked this pull request as ready for review November 15, 2024 08:55
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.

5 participants