Commit Graph

287 Commits

Author SHA1 Message Date
emirpasic
de5d894737 - update documentation, closes #73 2018-09-19 05:40:24 +02:00
emirpasic
8557a87b9f fmt 2018-09-19 05:05:43 +02:00
Emir Pasic
6f0f602e3e
Merge pull request #76 from xtutu/master
optimize array list
2018-09-19 04:55:21 +02:00
Emir Pasic
5f49b99ed9
Merge pull request #81 from meal/readme-update-JSONDeserialization
Update README.md
2018-09-19 04:36:34 +02:00
Mateusz Kozak
92a8a1f980
Update README.md
fix example on how to deserialize key-value JSON
2018-08-08 22:06:04 +02:00
Emir Pasic
bba54c718c
Merge pull request #80 from emirpasic/revert-79-revert-78-gofmt-2018-Jun-17-00-39
Revert "Revert "gofmt""
2018-06-18 13:24:50 +02:00
Emir Pasic
65869799a0
Revert "Revert "gofmt"" 2018-06-18 13:13:01 +02:00
Emir Pasic
937573a202
Merge pull request #79 from emirpasic/revert-78-gofmt-2018-Jun-17-00-39
Revert "gofmt"
2018-06-17 14:41:55 +02:00
Emir Pasic
076c527d93
Revert "gofmt" 2018-06-17 14:41:40 +02:00
Emir Pasic
8c6c64e99f
Merge pull request #78 from whilei/gofmt-2018-Jun-17-00-39
gofmt
2018-06-17 14:34:53 +02:00
ia
55e94ab1e3 all: gofmt
Run standard gofmt command on project root.

- go version go1.10.3 darwin/amd64

Signed-off-by: ia <isaac.ardis@gmail.com>
2018-06-17 01:02:33 +02:00
xtutu
5d06966e29 optimize array list 2018-06-12 13:41:35 +08:00
Emir Pasic
b2394dfbb6
Merge pull request #69 from mahadevTW/indexOfMethod
Index of method
2017-12-26 21:51:25 +01:00
Mahadev
8a171863a0 Add IndexOf method to DoublyLinkedList 2017-12-26 19:19:36 +05:30
Mahadev
e709a4b5ea Add IndexOf method to SinglyLinkedList 2017-12-26 19:19:18 +05:30
Mahadev
f246a54621 Add IndexOf method to ArrayList 2017-12-26 19:18:50 +05:30
Emir Pasic
8a038b0103 Merge pull request #65 from dvrkps/patch-1
travis: update go versions
2017-10-13 21:01:07 +02:00
Davor Kapsa
39cc6fb03a travis: update go versions 2017-10-13 19:11:23 +02:00
Emir Pasic
b078911879 Merge pull request #64 from eugecm/fix_inconsistent_use_of_tabs_spaces
Fixed inconsistent use of tabs and spaces in README.md examples
2017-10-03 00:13:46 +02:00
Eugenio Cano-Manuel
576b606224 replaced ^\s for ^<tab> in code examples 2017-10-02 23:05:41 +01:00
Emir Pasic
c4fc0ef8b1 Update README.md 2017-09-12 15:16:29 +02:00
Emir Pasic
e8e0d26a6f Update README.md 2017-09-12 15:15:00 +02:00
Emir Pasic
4673683cbc Update enumerable.go 2017-09-12 12:48:36 +02:00
Emir Pasic
aae97c7363 Merge pull request #56 from spewspews/fastredblack
speed up redblack put performance
2017-09-12 12:47:07 +02:00
Benjamin Scher Purcell
08df807efe speed up redblack put performance 2017-04-06 11:33:07 -05:00
Emir Pasic
f6c17b5248 Merge pull request #53 from emirpasic/json
JSON serialization (marshaling) / deserialization (unmarshaling)
2017-03-06 05:24:02 +01:00
Emir Pasic
febc429423 - update documentation on serialization 2017-03-06 05:23:07 +01:00
Emir Pasic
2752136e4c - update documentation on serialization 2017-03-06 05:18:15 +01:00
Emir Pasic
42d0c04ae7 - serialization example 2017-03-06 04:58:03 +01:00
Emir Pasic
232f8d8a62 - tree-map and tree-bidi-map (de)serialization 2017-03-06 04:35:57 +01:00
Emir Pasic
7eadb02f45 - all trees (de)serialization 2017-03-06 04:18:23 +01:00
Emir Pasic
911a9d76cf - hash bidi map (de)serialization 2017-03-06 03:55:12 +01:00
Emir Pasic
b3ac670248 - all stacks (de)serialization 2017-03-06 03:49:30 +01:00
Emir Pasic
706042c8bc - hash map (de)serialization 2017-03-06 03:44:02 +01:00
Emir Pasic
0887bbc9f4 - ToString function to convert to string from any type 2017-03-06 03:40:29 +01:00
Emir Pasic
50b47dce4b - JSON serialization for all sets 2017-03-06 01:28:09 +01:00
Emir Pasic
696bb0e577 - JSON serialization for all lists (test for singly linked list) 2017-03-06 01:12:33 +01:00
Emir Pasic
0dcb10bcab - JSON serialization for all lists 2017-03-06 01:05:01 +01:00
Emir Pasic
51d19e739f Merge pull request #52 from emirpasic/development
Fix doubly linked list's element's previous pointer when inserting
2017-03-05 23:34:24 +01:00
Emir Pasic
e78a91731a - Fix doubly linked list's element's prev pointer when inserting 2017-03-05 23:33:34 +01:00
Emir Pasic
f2025ad180 Merge pull request #51 from emirpasic/development
Development
2017-03-05 22:33:11 +01:00
Emir Pasic
65ced7c422 - avl tree documentation and example 2017-03-05 22:31:38 +01:00
Emir Pasic
42299026d8 - flip the output of avl tree (swap left with right children in output to mimick the output given by red-black tree) 2017-03-05 22:25:29 +01:00
Emir Pasic
bf32da08f2 - mimicking iterator behavior as with red-black tree (copied/pasted same test from red-black tree and fixed the iterator logic) 2017-03-05 21:47:47 +01:00
Emir Pasic
240822f445 - avl tree: reshuffle functions around to resemble the red-black tree ordering of functions (makes it easier to maintain code of various trees) 2017-03-05 21:33:07 +01:00
Emir Pasic
9f8722300a - AVL tree, remove dynamic func initialization within a func, simply extract those put/remove func on its own 2017-03-05 21:26:42 +01:00
Emir Pasic
d6611c11d3 - getting rid of min/max from avl tree for now, until we figure out if these should be implemented on all trees (probably, yes) 2017-03-05 21:09:28 +01:00
Emir Pasic
31294e57de - remove copy-constructor like initialization in avl tree, could be ambiguous for clients of what the output might be. an explicit initialization with explicit comparator is a lot more obvious, more code, but more obvious. 2017-03-05 21:04:53 +01:00
Emir Pasic
59734f8164 - avl tree: expose children and parent nodes, can be useful when extending structure to have access to these 2017-03-05 21:03:01 +01:00
Emir Pasic
f480e9419a - simplify avl tree by exposing its comparator , i.e. del getter for comparator 2017-03-05 20:57:53 +01:00