Commit 3b0377c
authored
Linked List Implementation (#6)
* created base of classes for DSNode and DSDoublyLL
* changed file names, added push front/back, added indexing opprator; all for doubly linked list
* Rename DSNode.h to dsnode.h
* corrected include statement character casing for node in doubly linked list
* Implemented comparison operator for DSDoublyLL
* implemented destructor and paramaterized constructor for arrays
* Update build.yml
* Removed this branch from build.yml
* set head and tail of linked list to nullptr after deletion
* Update build.yml
* update build.yml
* changed return of DSDoublyLL::operator[] to a reference, implemented addition for DSDoublyLL
* added DSDoublyLL.pop functions and minor reorganization for DSDoublyLL tests
* added DSDoublyLL::operator!=
* refactored DSDoublyLL::operator[]
* Refactored DSDoublyLL::operator[] to use a second new method getNodeAt(int index)
* Added size function
* reorganized test.cpp into test cases.
* added tests for insert and remove, and started insert implementation
* implemented insert function
* implemented remove function
* Update build.yml with latest ubuntu os.
* updated build.yaml (#5)
* Update build.yml updating action versions
* Update build.yml with this branch
* Update build.yml upload-artifact version
* Update build.yml to remove this branch
* Update build.yml to remove linked list branch1 parent f6096ce commit 3b0377c
6 files changed
Lines changed: 733 additions & 18 deletions
File tree
- .github/workflows
- DSDoublyLL
- DSString
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
| 29 | + | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
0 commit comments