Commit Graph

19 Commits

Author SHA1 Message Date
Emir Pasic
3a938233a0 - test iterator reset on all structures 2016-06-26 21:44:23 +02:00
Emir Pasic
b86d413e66 - iterator reset on all structures 2016-06-26 20:50:49 +02:00
Emir Pasic
ae143689c6 - add reversible iterators to binary heap 2016-06-25 19:26:08 +02:00
Emir Pasic
b304f5eb58 - add reversible iterators to array stack 2016-06-25 19:11:20 +02:00
Emir Pasic
59bebe43ce - update all documentation to be in godoc style 2016-06-25 17:02:21 +02:00
Emir Pasic
ef9baa808a - golint 2016-06-24 21:52:16 +02:00
Emir Pasic
35457aba81 - fix spelling 2016-06-24 20:27:34 +02:00
Emir Pasic
fe7fb7b07b - refactor stacks' tests 2016-06-24 19:57:54 +02:00
Emir Pasic
8cb4635c2c - code document all enumarable functions and iterators in containers 2016-06-24 00:08:04 +02:00
Emir Pasic
e4c3d8a0d8 - split iterators into two type (iterator with index and iterator with key) 2016-06-22 19:59:08 +02:00
Emir Pasic
8e0280ece6 - add iterator to array stack 2016-06-22 05:56:09 +02:00
Emir Pasic
3b3edfc539 - naming conventions (calling interfaces by what they are) 2016-06-22 03:09:48 +02: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
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
ce767c333d add Clear() method to stack interface 2015-03-05 22:37:25 +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
74d7895cfb array stack (with tests and benchmarks - kinda slow in comparison to the linked list stack) 2015-03-05 19:29:57 +01:00