Пример #1
0
 public void deleteList()
 {
     head = null;
 }
Пример #2
0
 public linkedList(int value)
 {
     head = new node(value);
 }
Пример #3
0
 public node(int d)
 {
     data = d;
     next = null;
 }