Commit Graph

68 Commits

Author SHA1 Message Date
a8d47f1061 Updated Binary Tree to Include all Traversals
Traversals to be selected using enum
2022-04-19 21:54:54 +01:00
d4291ab9ec Update Queue to allow for null values to be added 2022-04-19 21:31:29 +01:00
a4dfb0f58a Updated Doubly Linked List to allow for null values to be added 2022-04-19 21:30:37 +01:00
e8c99f8d5d Updated Linked List to allow for null value to be added 2022-04-19 21:29:25 +01:00
5360fdd47b Updated Inorder Traversal 2022-04-19 21:09:33 +01:00
a03771cce5 Added GetCount Method to Doubly Linked List 2022-04-17 23:20:01 +01:00
2a9cf2ff4d Added GetCount Method to Linked List 2022-04-17 23:18:46 +01:00
1c5a9c83ce Added GetCount Method to Queue 2022-04-17 23:17:57 +01:00
564e4d161f Re-Written Delete method on Binary Tree 2022-04-17 23:14:18 +01:00
6ae360f3bc Added GetCount method to Stack 2022-04-17 22:17:53 +01:00
88a7a7577e Removed redundant function from Binary Search Tree 2022-04-17 21:48:38 +01:00
e5b0d1659b updated tree deletion method
Still not complete but will occasionally delete correctly, seems to have more issues with items near the top of the tree
2022-04-16 22:36:03 +01:00
4b45f5d561 Added Inorder Traversal 2022-04-14 22:21:40 +01:00
8ac85d8a1f Added 'Delete' method to Binary Tree 2022-04-14 21:55:59 +01:00
1c14ff75d6 Updated Min, Max and Find functions to use stacks 2022-04-14 21:16:41 +01:00
9de49129e7 Updated stack to allow for null references to get added 2022-04-14 20:40:52 +01:00
6906d2e764 Created Max and Min functions for Binary Tree 2022-04-14 20:13:35 +01:00
a2c7326e4b Changes BST to Binary Tree 2022-04-14 17:26:06 +01:00
31888a1529 Updated Tree to ensure no null values are added (Incomparable) and updated descend function to use traverse 2022-04-13 21:17:33 +01:00
9fab683f85 Declared all nodes to be internal 2022-04-13 21:12:18 +01:00
cb09f165f8 Removed whitespace 2022-04-13 21:10:12 +01:00
3b39165316 Completed 'Find' function 2022-04-13 21:08:58 +01:00
3f97e4b770 Fixed CS0019 Error - Cannot assume type T is a reference type but instead can infer that a default node can mean that the tree is empty 2022-04-12 16:03:10 +01:00
702b251a8a Trying to Incorporate Find function but teek getting warnings that Type T cannot be comfirmed as a reference type. (Could be a struct) Need to find oput why it is affecting BST but not Linked List etc... 2022-04-10 22:27:56 +01:00
735bf68e0d Incomplete - Tested 'Find' function; Doesn't always return on the given item but instead will continue past it if it has any children 2022-04-08 22:35:55 +01:00
e9df1cab67 Created 'Add' function for Binary Search Tree 2022-04-05 22:35:33 +01:00
e1a85f7b53 Created Tree + Tree Node 2022-04-04 21:36:04 +01:00
27c51969f8 Updated Generic Nodes to be Uninstantiable 2022-04-04 21:15:12 +01:00
78df73e66d Separeted Generic Nodes (Directed and Undirected) 2022-04-02 21:22:20 +01:00
e5fa390608 Updated Repo Layout 2022-04-01 22:02:39 +01:00
88d84ab448 Ran Code Cleanup 2022-03-31 22:13:13 +01:00
fc832edb9d Added + Completed Queue Datastructure 2022-03-31 22:06:25 +01:00
703826c8a6 Simplified Push Method 2022-03-31 22:05:13 +01:00
c54401fdbb Fixed Push and Pop methods on Stack 2022-03-31 21:55:17 +01:00
1738ef0e5a Created QueueNode 2022-03-31 21:36:43 +01:00
bff4abff01 Stack Completed 2022-03-31 21:32:42 +01:00
40f73375b9 Added comments to StackNode 2022-03-31 21:29:12 +01:00
4fb6d4e15a Updated StackNode to use new Node Type 2022-03-31 21:28:24 +01:00
c69c6ee0d3 Updated DoublyLinkedListNode to use new Node Type 2022-03-31 21:27:31 +01:00
3d5f1cfbc1 Updated LinkedListNode to use new Node Type 2022-03-31 21:24:55 +01:00
ea5d5a73ed Added GenericNode outline 2022-03-31 21:23:49 +01:00
de0f4195ed Updated Protection Level of all current datastructures - Needs Review 2022-03-28 23:16:33 +01:00
fdd1461e3a Added Push, Pop and Peek methods to Stack 2022-03-28 23:08:19 +01:00
f263a14170 Updated Create Method for Stack + StackNode 2022-03-28 22:41:24 +01:00
ba2f01f836 Redeclared Stack count as private 2022-03-26 22:40:20 +00:00
7a3c15d602 Removed whitespace 2022-03-26 22:39:16 +00:00
8444f0fa0a Created Stack class + Creation Methods 2022-03-26 22:38:49 +00:00
6e63055274 StackNode Created - Provisional setup 2022-03-26 22:31:47 +00:00
1db992492b Updated insert method to allow items to be added to the end of the list. 2022-03-23 21:20:19 +00:00
e6557a1d90 Bugs fixed on Delete and Insert Methods 2022-03-19 00:00:13 +00:00