Added delete method to doubly linked list

This commit is contained in:
2022-03-16 22:07:11 +00:00
parent 7ced980a90
commit 431785b586
3 changed files with 24 additions and 4 deletions

View File

@ -27,7 +27,7 @@ list2.Add(6);
list2.Add(7);
list2.Add(8);
var list3 = DoublyLinkedList<int>.Create(list, null);
list.Delete(2);
var x = list[-6];