Skip to content

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
carlieyung and others added 23 commits November 13, 2024 01:02
'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
@lee-naish lee-naish closed this Sep 1, 2025
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