Commit Graph

30 Commits

Author SHA1 Message Date
Sailok Chinta
e263edcfe0 Add QuadTree data structure (#5681) 2024-10-12 10:23:41 +03:00
xuyang471
48c65e4c5e Add boundary traversal of binary tree (#5639) 2024-10-09 19:50:30 +00:00
Sailok Chinta
5dcf6c0f29 Enhance Trie data structure with added methods and tests (#5538) 2024-10-07 21:11:55 +00:00
ShreeHarish
4008e4967c Add treap class (#5563) 2024-10-06 10:01:54 +03:00
Hardik Pawar
ce34595628 Improve TrieImp.java comments & enhance readability (#5526) 2024-10-05 12:47:52 +03:00
SOZEL
a5b083cab0 Add SplayTree (#5142) 2024-09-01 23:25:34 +03:00
Samuel Facchinello
87b17e0571 style: enable NeedBraces in checkstyle (#5227)
* enable style NeedBraces

* style: enable NeedBraces in checkstyle

---------

Co-authored-by: Samuel Facchinello <samuel.facchinello@piksel.com>
2024-06-13 21:00:16 +02:00
Piotr Idzik
d3bb691f59 style: enable HideUtilityClassConstructor in checkstyle (#5147) 2024-05-08 09:58:29 +03:00
Piotr Idzik
414835db11 style: enable AvoidStarImport in checkstyle (#5141) 2024-05-05 20:48:56 +02:00
Albina Gimaletdinova
bc699b86e5 Refactor BinaryTreeIsBalanced algorithm (#4222) 2023-06-26 22:26:17 +08:00
acbin
415a04ea7f Add automatic linter (#4214) 2023-06-09 20:05:14 +08:00
acbin
00282efd8b style: format code (#4212)
close #4204
2023-06-09 18:52:05 +08:00
Albina Gimaletdinova
deef2ae445 Refactor CreateBinaryTreeFromInorderPreorder (#4190) 2023-05-14 14:52:30 +03:00
Albina Gimaletdinova
3a593d5d3c Cover BSTRecursive with tests (#4180) 2023-05-06 21:10:33 +03:00
Albina Gimaletdinova
f69cd7cfa2 Remove redundant code and add tests for BSTIterative (#4164) 2023-04-24 14:52:38 +03:00
Albina Gimaletdinova
4c18e60671 Refactor BSTFromSortedArray (#4162) 2023-04-22 07:53:12 +00:00
a-kbd
dd949e9b5d Increase test coverage (fixes #3895 #3896) (#3897) 2023-03-05 21:03:08 +02:00
Albina Gimaletdinova
3499c1bee6 Add postorder binary tree traversal (#3899) 2023-02-27 12:06:39 +00:00
Albina Gimaletdinova
45923d6872 Add inorder binary tree traversal (#3898) 2023-02-25 20:58:06 +00:00
Albina Gimaletdinova
541f490d1e Valid BST: refactoring + added unit test (#3883)
Co-authored-by: Debasish Biswas <debasishbsws.abc@gmail.com>
2023-02-17 11:43:17 +00:00
Albina Gimaletdinova
d565edc69a Added recursive&iterative preorder binary tree traversal (#3884)
Added recursive& iterative preorder binary tree traversal
2023-02-17 17:04:44 +05:30
Albina Gimaletdinova
a584ca248c Refactor Level Order Traversal (#3869) 2023-02-14 12:33:14 +02:00
Albina Gimaletdinova
351e85d264 Added same trees algorithm check with a unit test (#3845)
Co-authored-by: Debasish Biswas <debasishbsws.abc@gmail.com>
2023-01-13 20:07:56 +00:00
Albina Gimaletdinova
3b6e3edbfb Vertical order traversal refactoring, added unit test (#3844)
Vertical order traversal refactoring, added test
2023-01-13 19:26:15 +05:30
Albina
5aa417b6ae Added Zigzag Traversal of a Binary Tree (#3811)
* Added Zigzag Traversal of a Binary Tree

* fixed file name

Co-authored-by: Albina Gimaletdinova <gimaletdinovaalbina@gmail.com>
2023-01-12 17:36:11 +05:30
Amit Kumar
3542f1c4c1 Add check if tree is symmetric or not (fixes #3471) (#3472)
Co-authored-by: Amit Kumar <akumar@indeed.com>
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2022-10-30 10:29:22 +02:00
Amit Kumar
c9e7b219a7 Add unit test for CeilInBinarySearchTree (fixes #3395) (#3396)
Co-authored-by: Amit Kumar <akumar@indeed.com>
2022-10-23 05:47:00 +00:00
acbin
e96f567bfc Format code with prettier (#3375) 2022-10-03 17:23:00 +08:00
AmirMohammad Hosseini Nasab
05660dae92 Add K-D Tree (#3210) 2022-08-13 11:00:00 +00:00
AmirMohammad Hosseini Nasab
3e8f30c72a Add Lazy Segment Tree (#3209) 2022-08-10 17:27:53 +00:00