-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ismail Gjevori
committed
Apr 2, 2022
1 parent
c8eb8d3
commit 8f77e88
Showing
3 changed files
with
14 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
// Generic data structures in GO. | ||
// collection implements generic data structures in GO. | ||
// collection.Vec and collection.Map are the same as native `slice` and `map` but with some methods. | ||
// collection.Set is a set of comparable values. It is implemented as a map where the values are an empty struct. | ||
// collection.DLList is a doubly linked list which can be used as a stack or a queue. It has fast O(1) operations in both ends. | ||
// collection.Iterator is a lazy generic iterator. It is not limited to the structures defined in this package. | ||
package collection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters