Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

goLinkedList

Terminal Commands:

add => add new value

sadd => sorted add new value

append => append to new value

print => print added values

Example:

github.com/mkilic91/goLinkedList
--------------------------------
-> add
#add -> 1
-> add
#add -> 2
-> add
#add -> 4
-> print
--------------------------------

1
2
4
--------------------------------
-> sadd
#sadd -> 3
-> add
#add -> 8
-> add
#add -> 5
-> print
--------------------------------

1
2
3
4
8
5
--------------------------------
-> append
#append after -> 8
#append new val -> 9
-> print
--------------------------------

1
2
3
4
8
9
5
--------------------------------
-> sadd
#sadd -> 5
-> sadd
#sadd -> 6
-> print
--------------------------------

1
2
3
4
5
6
8
9
5
--------------------------------
-> 

About

Golang linked list example

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages