Skip to content

Commit 7231786

Browse files
committed
update: change in method name
1 parent 98646de commit 7231786

File tree

1 file changed

+1
-1
lines changed
  • src/_DataStructures_/DoublyLinkedList

1 file changed

+1
-1
lines changed

src/_DataStructures_/DoublyLinkedList/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class DoublyLinkedList {
5353
return this.size;
5454
}
5555

56-
display() {
56+
traverse() {
5757
let address = this.head.next;
5858
const elements = [];
5959
while (address !== this.tail) {

0 commit comments

Comments
 (0)