Commit Graph

189 Commits

Author SHA1 Message Date
Priyanshu Kumar Singh
9a907c8843 [FEAT] Implement Dials Algorithm (Graph) (#6679)
[FEAT] Implement Dials Algorithm(Graph)

Co-authored-by: Priyanshu1303d <priyanshu130d@gmail.com>
2025-10-12 21:25:21 +02:00
Udaya Krishnan.M
5f8d8eeb7b Added Pretty Display method and BSTRecursiveGenericTests.java (#6621)
* added binarysearchtree

* added binarysearchtree

* updated

* updated the test values

* updated build issues

* updated

* updated

* updated

* updated

* updated

* updated

* updated

* added pretty display method

* added pretty display method

* updated pretty Display and added BSTRecursiveGenericTest.java

* updated pretty Display and added BSTRecursiveGenericTest.java

* updated pretty Display and added BSTRecursiveGenericTest.java

* updated pretty Display and added BSTRecursiveGenericTest.java

* updated pretty Display and added BSTRecursiveGenericTest.java

* added pretty display method

* updated pretty Display and added BSTRecursiveGenericTest.java

* updated pretty Display and added BSTRecursiveGenericTest.java

* updated pretty Display and added BSTRecursiveGenericTest.java

---------

Co-authored-by: Krishnan M <2318467@cognizant.com>
Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com>
2025-10-08 11:55:38 +00:00
Richa Kiran
5e9d9f7337 Added Circular Doubly Linked List in the datastructures section (#6565) 2025-10-01 15:59:15 +03:00
Priyansh
1393f5ea6b Added-> DisjointUnion Set by Size (#6514)
* Added-> DisjointUnion Set by Size

* Add tests for DisjointSetUnionBySize

---------

Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com>
2025-09-03 19:05:12 +02:00
Vicky
3961b1dab9 fix: revert ReverseStack deletion and verify linting (#6474) (#6494)
* fix: revert ReverseStack deletions and ensure lint compliance

* Fix formatting for ReverseStack and test files

* Delete ReverseStackUsingRecursion and its test as requested

---------

Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com>
2025-08-22 07:41:36 +02:00
Oleksandr Klymenko
24f4090210 testing: improve MergeKSortedLinkedListTes (#6445)
testing: improve MergeKSortedLinkedListTest

Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com>
2025-07-27 10:50:41 +02:00
Oleksandr Klymenko
066a10979b testing: improve BloomFilterTest (#6443)
* testing: improve BloomFilterTest

* style: fix formatting
2025-07-26 19:38:25 +02:00
Oleksandr Klymenko
032f75c0f4 testing: improve DisjointSetUnionTest (#6440)
* testing: improve DisjointSetUnionTest

* testing: redundant variable for DisjointSetUnionTest
2025-07-25 18:04:52 +00:00
Oleksandr Klymenko
040d3850ac testing: improve BagTest (#6435)
* testing: improve BagTest

* style: fix checkstyle for BagTest

* testing: redundant test
2025-07-25 18:01:12 +00:00
Oleksandr Klymenko
edb8167374 testing: improve test coverage NodeStackTest (#6432)
* testing: improve test coverage NodeStackTest

* style: fix style issues

* testing: fix type

* testing: fix import

* testing: fix import
2025-07-25 19:58:15 +02:00
Oleksandr Klymenko
fc07cd806e testing: improve test coverage StackOfLinkedListTest (#6430)
* testing: improve test coverage StackOfLinkedListTest

* testing: fix spotbugs
2025-07-24 21:36:52 +02:00
Oleksandr Klymenko
4f16ad0b0e testing: improve test coverage DequeTest (#6429)
testing: improve test coverage DequeTest
2025-07-24 18:41:02 +00:00
Oleksandr Klymenko
ac5849323e testing: improve test coverage CursorLinkedListTest (#6428)
* testing: improve test coverage CursorLinkedListTest

* style: fix checkstyle formatting
2025-07-24 20:34:31 +02:00
Oleksandr Klymenko
ec7b654d0b testing: improve StackArrayTest (#6424)
testing: improve StackArrayTest
2025-07-24 12:42:33 +03:00
Oleksandr Klymenko
699271665d testing: improve QueueTest (#6423)
* testing: improve QueueTest

* testing: fix test
2025-07-23 22:02:52 +02:00
Oleksandr Klymenko
073b6f15a8 testing: improve CircularBufferTest (#6418)
* testing: improve CircularBufferTest

* style: redundant whitespace

---------

Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com>
2025-07-23 07:44:38 +02:00
Oleksandr Klymenko
3304cf2e58 testing: improve QueueByTwoStacksTest (#6416)
testing: improve QueueByTwoStacksTest
2025-07-22 19:33:55 +02:00
Oleksandr Klymenko
bbbc1dd946 testing: improving CountSinglyLinkedListRecursionTest (#6413)
Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com>
2025-07-22 16:52:33 +00:00
IDDQD
c9cc8f4698 Add cache with LIFO replacement policy (#6390)
* Added Random Replacement cache

* Implement cache with LIFO replacement policy

* Ran clang-format

* Make necessary variables final, replace HashMap.newHashMap(int capacity) with new HashMap<>(int capacity)

---------

Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com>
2025-07-21 18:11:13 +02:00
Oleksandr Klymenko
2722b0ecc9 testing: improving SkipListTest (#6411)
* testing: improving SkipListTest

* style: fixed formatting

---------

Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com>
2025-07-21 16:02:07 +00:00
Oleksandr Klymenko
75298bb3f4 testing: improving DequeTest (#6410)
* testing: improving DequeTest

* testing: redundant case

* testing: fix to many static imports

* testing: add more test cases

---------

Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com>
2025-07-21 15:58:22 +00:00
Oleksandr Klymenko
334543f54c testing: improve test coverage PriorityQueuesTest (#6397)
testing: improve test coverage PriorityQueuesTest

Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com>
2025-07-19 14:04:10 +00:00
Oleksandr Klymenko
76aea4254c testing: improving test coverage DisjointSetUnionTest (#6394)
* testing: improving test coverage DisjointSetUnionTest

* style: remove redundant comment

* testing: removing unused variable

---------

Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com>
2025-07-19 09:57:58 +02:00
Oleksandr Klymenko
d0d4b3c8fb testing: additional testcases for CountSinglyLinkedListRecursionTest (#6392)
testing: additional testcases for CountSinglyLinkedListRecursionTest

Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com>
2025-07-18 05:51:11 +00:00
Oleksandr Klymenko
7f6e677b07 testing: improve test coverage SortedLinkedListTest (#6388)
* testing: improve test coverage SortedLinkedListTest

* checkstyle: fix comments formatting

* checkstyle: fix formatting
2025-07-17 22:00:41 +02:00
KevinMwita7
c782f05ed4 Add cache with FIFO replacement policy (#6337) 2025-07-05 13:29:46 +00:00
KevinMwita7
bb36d13c93 Add RR cache (#6307) 2025-06-30 18:45:37 +00:00
Piotr Idzik
7602f1ef4c chore: suppress unchecked in selected classes (#6262) 2025-06-05 19:13:46 +03:00
Piotr Idzik
ec6f09c373 chore: suppress rawtypes in selected classes (#6261) 2025-06-05 14:23:28 +03:00
Soham Kamble
2320b46b3f Add BTree implementation (#6248) 2025-05-28 15:00:41 +03:00
Piotr Idzik
251e9e1902 refactor: introduce SinglyLinkedListNode (#6210) 2025-04-02 18:51:40 +03:00
Niklas Hoefflin
63ce6b8ca5 Refactor LWWElementSet (#6164) 2025-02-13 22:33:52 +02:00
likespro
1a2aeddec3 Add optimized version of DijkstraAlgorithm (#6088) 2024-11-19 09:09:06 +02:00
Strange Developer
df0c997e4b General performance improvement (#6078) 2024-11-01 19:52:42 +02:00
Hardik Pawar
03bb8ee66e Enhance docs, add tests in MaxHeap (#5983) 2024-10-29 22:47:33 +02:00
Hardik Pawar
857d921b07 Enhance docs, add tests in ReverseKGroup (#5999) 2024-10-29 20:22:31 +00:00
Hardik Pawar
94fb92e508 Enhance docs, add tests in GenericHeap (#5980) 2024-10-29 20:11:30 +00:00
Hardik Pawar
63d13b6f3a Enhance docs, add tests in GenericHashMapUsingArray (#5972) 2024-10-29 18:51:27 +00:00
Hardik Pawar
b31bc86192 Enhance docs, add tests in AVLTree (#6058) 2024-10-29 18:02:33 +00:00
PANKAJ PATWAL
bca8d0efe0 Add Longest Subarray With Sum Less Than or Equal to K algorithm (#6042) 2024-10-27 22:54:30 +02:00
Giulio Tantaro
a2e526b610 Add tests for NodeStack (#6009) 2024-10-27 22:39:56 +02:00
Hardik Pawar
d4a13fc8b5 Enhance docs, remove main, add tests in `SearchSinglyLink… (#6012) 2024-10-26 22:13:57 +03:00
Hardik Pawar
62c9309a31 Enhance docs, remove main, add tests in PrimMST (#5969) 2024-10-26 18:10:19 +00:00
Hardik Pawar
cfa35a4fd9 Add tests, fix removeEdge bug in MatrixGraphs (#5968) 2024-10-26 18:00:02 +00:00
Hardik Pawar
c6571382d9 Enhance docs, add tests in TarjansAlgorithm (#5970) 2024-10-26 17:51:13 +00:00
Hardik Pawar
474e0dea02 Enhance docs, add more tests in WelshPowell (#5971) 2024-10-26 16:57:43 +00:00
Hardik Pawar
a78b15dc24 Enhance docs, add tests in MinHeap (#5985) 2024-10-26 16:53:32 +00:00
Hardik Pawar
bc6ea1ec87 Enhance docs, fix & add tests in `GenericHashMapUsingArrayL… (#5973) 2024-10-26 16:45:16 +00:00
Hardik Pawar
f5bc2c807d Add more tests in HashMap (#5974) 2024-10-26 16:29:21 +00:00
Hardik Pawar
cd40dfbb41 Enhance docs, add tests in HashMapCuckooHashing (#5975) 2024-10-26 16:17:58 +00:00