Commit Graph

36 Commits

Author SHA1 Message Date
Oleksii Trekhleb
f04626bc5c Return removed nodes in BST. 2018-05-31 08:29:59 +03:00
Oleksii Trekhleb
7a4265403c Use Map for node meta data. 2018-05-31 07:59:20 +03:00
Oleksii Trekhleb
e572de63cb Create getters and setters for meta data in binary tree node. 2018-05-31 07:37:31 +03:00
Oleksii Trekhleb
02d7abcf65 Make it possible to insert meta information to bst node. 2018-05-31 07:16:35 +03:00
Oleksii Trekhleb
33ac110cce Make it possible to attach meta information to binary tree node. 2018-05-31 07:03:33 +03:00
Oleksii Trekhleb
c18fd63a53 Fix naming in binary search tree test. 2018-05-31 06:23:51 +03:00
Oleksii Trekhleb
b62d9a43b4 Clean up in binary search tree constructor. 2018-05-30 08:18:45 +03:00
Oleksii Trekhleb
b7e27b2f07 Remove parent parameter from binary tree node constructor to simplify syntax. 2018-05-30 08:16:41 +03:00
Oleksii Trekhleb
fcc546347d Code style fixes. 2018-05-30 08:00:25 +03:00
Oleksii Trekhleb
8d868ae582 Code style fixes. 2018-05-30 07:47:49 +03:00
Oleksii Trekhleb
797a6f28a3 Make it possible to use objects as a values for binary search tree nodes. 2018-05-30 07:43:39 +03:00
Oleksii Trekhleb
3ae9c40416 Test that it is possible to use objects and binary tree node values. 2018-05-30 07:19:48 +03:00
Oleksii Trekhleb
2185212527 Update READMEs. 2018-05-21 16:51:21 +03:00
Oleksii Trekhleb
ef72e2de79 Update READMEs. 2018-05-21 16:48:21 +03:00
Oleksii Trekhleb
8efebc1715 Add README. 2018-04-14 09:55:46 +03:00
Oleksii Trekhleb
0fac790e1b Add README. 2018-04-14 09:52:04 +03:00
Oleksii Trekhleb
781d5224e0 Add README. 2018-04-14 09:43:09 +03:00
Oleksii Trekhleb
8d21315b14 Add AVL Tree. 2018-04-06 09:17:52 +03:00
Oleksii Trekhleb
d10293c088 Add AVL Tree. 2018-04-06 09:11:08 +03:00
Oleksii Trekhleb
81253e8a5d Fix binary tree node. 2018-04-06 07:08:14 +03:00
Oleksii Trekhleb
9eefd13615 Fix binary tree node. 2018-04-06 07:01:16 +03:00
Oleksii Trekhleb
30c080ba02 Fix binary tree node. 2018-04-05 15:54:25 +03:00
Oleksii Trekhleb
d19149de8e Fix binary tree node. 2018-04-05 08:29:13 +03:00
Oleksii Trekhleb
b24763e249 Fix binary tree node. 2018-04-05 06:51:45 +03:00
Oleksii Trekhleb
97e6120b3f Refactor BST. 2018-04-04 09:21:03 +03:00
Oleksii Trekhleb
857edbf3a8 Add possibility for tree nodes to have height. 2018-04-04 09:11:26 +03:00
Oleksii Trekhleb
f5ae2360f2 More tests. 2018-04-04 07:02:56 +03:00
Oleksii Trekhleb
9f8e763d69 Add binary search tree. 2018-04-03 08:47:42 +03:00
Oleksii Trekhleb
1c911aadf0 Add binary search tree. 2018-04-03 07:50:30 +03:00
Oleksii Trekhleb
b89e406444 Add binary search tree. 2018-04-03 07:37:19 +03:00
Oleksii Trekhleb
c5bccffe36 Add binary search tree. 2018-04-03 07:35:13 +03:00
Oleksii Trekhleb
1513c536a6 Add binary search tree. 2018-04-03 07:20:08 +03:00
Oleksii Trekhleb
873024079a Add binary search tree. 2018-04-03 06:41:45 +03:00
Oleksii Trekhleb
8caf3a2201 Add binary search tree. 2018-04-02 20:26:29 +03:00
Oleksii Trekhleb
fbfdce030e Add binary search tree. 2018-04-02 20:24:51 +03:00
Oleksii Trekhleb
d6be33842c Add binary search tree. 2018-04-02 17:50:56 +03:00