otnt
|
5b1fc47581
|
move Ceiling and Floor function to redblacktreeextend
|
2016-03-27 21:42:00 -04:00 |
|
OTNT
|
a8ae25bd2e
|
Update redblacktree_test.go
Fix name mismatch.
|
2016-03-27 01:58:45 -04:00 |
|
otnt
|
9ad5e914f6
|
modify comment
|
2016-03-27 01:53:17 -04:00 |
|
otnt
|
f7f48e7628
|
add ceiling and floor function to redblacktree
|
2016-03-27 01:51:09 -04:00 |
|
Emir Pasic
|
6fb76b553f
|
Merge pull request #3 from emirpasic/redblacktree-node-export
Red-Black Tree Extensions
|
2016-03-25 12:24:19 +01:00 |
|
Emir Pasic
|
87ab028182
|
- update documentation to account for changes in the red-black tree (exposing root)
|
2016-03-23 06:22:23 +01:00 |
|
Emir Pasic
|
8dab13c925
|
- expose the root of the red-black tree to allow custom tree traversal
|
2016-03-23 05:40:01 +01:00 |
|
Emir Pasic
|
4257bbbae3
|
Merge pull request #1 from buddhamagnet/master
Correct examples
|
2015-03-17 00:17:58 +01:00 |
|
buddhamagnet
|
59e8cf4cdd
|
correct examples
|
2015-03-16 16:38:01 +00:00 |
|
Emir Pasic
|
538ed6b0eb
|
documentation example on swap method
|
2015-03-14 00:37:17 +01:00 |
|
Emir Pasic
|
9f6dbf940a
|
add swap method on all lists
|
2015-03-14 00:36:10 +01:00 |
|
Emir Pasic
|
c50f07c2ac
|
binary heap (examples and documentation)
|
2015-03-13 23:31:02 +01:00 |
|
Emir Pasic
|
bc2bc08324
|
binary heap
|
2015-03-13 02:07:44 +01:00 |
|
Emir Pasic
|
092a115642
|
- add swap method to arraylist (consider adding this on all lists)
|
2015-03-13 00:06:49 +01:00 |
|
Emir Pasic
|
133677039b
|
change growth factor to doube
|
2015-03-10 23:30:00 +01:00 |
|
Emir Pasic
|
48ad2d72e6
|
go vetting
|
2015-03-10 22:19:32 +01:00 |
|
Emir Pasic
|
67f317df5a
|
make linked list stack use our singly linked list
|
2015-03-10 04:31:01 +01:00 |
|
Emir Pasic
|
3aa1340d55
|
singly linked list (test+documentation). simplify of doubly linked list remove method
|
2015-03-10 04:14:40 +01:00 |
|
Emir Pasic
|
e112848ae9
|
documentation on doubly linked list
|
2015-03-10 03:21:55 +01:00 |
|
Emir Pasic
|
af024c9a3e
|
documentation on doubly linked list
|
2015-03-10 03:21:01 +01:00 |
|
Emir Pasic
|
1eafbc82c5
|
doubly linked list
|
2015-03-10 02:58:57 +01:00 |
|
Emir Pasic
|
99a0e60c8e
|
Update README.md
|
2015-03-08 04:41:03 +01:00 |
|
Emir Pasic
|
7c7da288e2
|
examples update on sorts
|
2015-03-08 03:27:27 +01:00 |
|
Emir Pasic
|
c5826ac043
|
sorting on containers, lists and as a utils method (test+documentation)
|
2015-03-08 03:13:26 +01:00 |
|
emirpasic
|
c6c71809f9
|
- starting work on sorting functions using tim's sort obtained from [https://github.com/psilva261/timsort]
|
2015-03-07 20:27:38 +01:00 |
|
emirpasic
|
19ca842c34
|
- starting work on sorting functions using tim's sort obtained from [https://github.com/psilva261/timsort]
|
2015-03-07 20:25:27 +01:00 |
|
emirpasic
|
f18fd78d3c
|
- documentation (creating a common containers interface for all data structures)
|
2015-03-07 19:24:26 +01:00 |
|
emirpasic
|
be9edcef3c
|
- creating a common containers interface for all data structures
|
2015-03-07 19:23:43 +01:00 |
|
emirpasic
|
d6be7ca2e5
|
- simplify String() method of linked list stack to make use of the Values() method
|
2015-03-07 18:29:48 +01:00 |
|
emirpasic
|
756f33ad9a
|
- cleanup reference in remove method of array list
|
2015-03-07 18:26:03 +01:00 |
|
emirpasic
|
8e5760a16e
|
- make ArrayStack make use of our ArrayList
- add Values() method to stacks interface
- write tests
|
2015-03-07 18:19:58 +01:00 |
|
emirpasic
|
28f559cc09
|
ArrayList addition (inc. test, example and documentation)
|
2015-03-07 18:05:34 +01:00 |
|
emirpasic
|
fdbea4bd27
|
- documentation for arraylist
|
2015-03-07 17:20:31 +01:00 |
|
emirpasic
|
3aa0eeddfb
|
ArrayList addition (inc. test, example and documentation)
|
2015-03-07 17:09:47 +01:00 |
|
emirpasic
|
a2f7d2482e
|
switching to BSD-style license [http://www.reddit.com/r/golang/comments/2y2x5v/gods_data_structures_for_go/cp6a90n]
|
2015-03-06 17:10:34 +01:00 |
|
Emir Pasic
|
1f7be2eba6
|
fix in string comparator [-1,0,1] only returns
|
2015-03-06 01:35:03 +01:00 |
|
Emir Pasic
|
140af0f233
|
custom comparator example and documentation
|
2015-03-06 01:29:16 +01:00 |
|
Emir Pasic
|
5c9b18e1aa
|
examples and documentation
|
2015-03-06 00:43:33 +01:00 |
|
Emir Pasic
|
ce767c333d
|
add Clear() method to stack interface
|
2015-03-05 22:37:25 +01:00 |
|
Emir Pasic
|
6a23043927
|
readme update
|
2015-03-05 21:21:55 +01:00 |
|
Emir Pasic
|
09f75253fe
|
optimizing the array stack to shrink array by factor of 1.5, now array stack is faster than linked list stack
|
2015-03-05 21:10:37 +01:00 |
|
Emir Pasic
|
50875b13a8
|
Update README.md
|
2015-03-05 20:15:53 +01:00 |
|
Emir Pasic
|
17d52145c8
|
Update README.md
|
2015-03-05 20:12:13 +01:00 |
|
Emir Pasic
|
99fede07ea
|
update readme - start writing some documentation
|
2015-03-05 20:07:30 +01:00 |
|
Emir Pasic
|
74d7895cfb
|
array stack (with tests and benchmarks - kinda slow in comparison to the linked list stack)
|
2015-03-05 19:29:57 +01:00 |
|
Emir Pasic
|
0f320a5e72
|
hashmap implemented (inc. tests)
|
2015-03-05 18:46:42 +01:00 |
|
Emir Pasic
|
5e01f1c81f
|
treemap (inc. tests)
|
2015-03-05 18:11:14 +01:00 |
|
Emir Pasic
|
3b03e68e10
|
maps interface definition (starting work on tree map)
|
2015-03-05 17:47:32 +01:00 |
|
Emir Pasic
|
187c76e5a4
|
implemented tree set (inc. tests)
|
2015-03-05 17:44:00 +01:00 |
|
Emir Pasic
|
ddec72ecf8
|
stacks interface addition and assertion
|
2015-03-05 17:19:20 +01:00 |
|