diff --git a/docs/datastructure/queue.md b/docs/datastructure/queue.md index 830002e..f8d6b78 100644 --- a/docs/datastructure/queue.md +++ b/docs/datastructure/queue.md @@ -15,7 +15,7 @@ A queue is a kind of linear table. It only allows delete operations at the front ## Usage ```go import ( - stack "github.com/duke-git/lancet/v2/datastructure/stack" + queue "github.com/duke-git/lancet/v2/datastructure/queue" ) ``` @@ -208,7 +208,7 @@ func main() { ### Front -
Just get head element of queue
+Just get the head element of queue
Signature: @@ -240,7 +240,7 @@ func main() { ### Back -Just get tail element of queue
+Just get the tail element of queue
Signature: @@ -397,7 +397,7 @@ func main() { ### Contain -checks if the value is in queue or not
+Check if the value is in queue or not
Signature: @@ -431,7 +431,7 @@ func main() { Common queue implemented by link. ### NewLinkedQueue -Return a LinkedQueue pointer with
+Return a LinkedQueue pointer
Signature: @@ -557,7 +557,7 @@ func main() { ### Front -Just get head element of queue
+Just get the head element of queue
Signature: @@ -589,7 +589,7 @@ func main() { ### Back -Just get tail element of queue
+Just get the tail element of queue
Signature: @@ -714,7 +714,7 @@ func main() { ### Contain -checks if the value is in queue or not
+Check if the value is in queue or not
Signature: @@ -1062,7 +1062,7 @@ func main() { ### Contain -checks if the value is in queue or not
+Check if the value is in queue or not
Signature: