Commit Graph

57 Commits

Author SHA1 Message Date
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
f2c3e74d15 Updated Append and Delete methods in Doubly Linked List 2022-03-18 22:38:58 +00:00
1998e77f18 Updated Delete and Appends methods on linked list 2022-03-18 22:28:24 +00:00
2828466e23 Insert Method added to Doubly Linked list 2022-03-16 22:31:54 +00:00
431785b586 Added delete method to doubly linked list 2022-03-16 22:07:11 +00:00
7ced980a90 Updated Doubly linked list to allow for the combining of 2 lists 2022-03-15 21:37:24 +00:00
5c91fce224 Updated reduced create method when 2 lists are present 2022-03-15 21:36:57 +00:00
c853d5250c Removed Whitespace 2022-03-10 21:27:38 +00:00
79debf3d62 Updated bounds search on Doubly Linked List and completed traverse method 2022-03-10 21:26:16 +00:00
bd5c546794 Added bounds search on Linked List 2022-03-10 21:25:41 +00:00
9c1a5738ca Added new functions to DoublyLinkedList - Traverse still incomplete 2022-03-08 21:34:37 +00:00
80bb1cc492 Added Doubly Linked List Node 2022-03-06 09:10:17 +00:00