Commit Graph

201 Commits

Author SHA1 Message Date
ayush26sharma
332f63b942
Add some useful functions for singly linked list (#2757) 2021-10-30 08:19:48 +03:00
januslinhc
6934c53c04
Add MRU Cache (#2738) 2021-10-28 19:58:58 +03:00
jhonDoe15
0ab11140b5
Add nearest right neighbor (#2574) 2021-10-27 22:19:09 +03:00
Shivam Shrey
9b90628a89
Fix incorrect file extension (Fixes: #2716) (#2717) 2021-10-27 21:56:00 +03:00
Amit Kumar
64513ff53e
Create a balanced binary search tree from a sorted array (Fixes: #2706) (#2711)
Co-authored-by: Amit Kumar <akumar@indeed.com>
2021-10-26 09:14:26 +03:00
Amit Kumar
b02a3fc818
Create a binary tree from inorder and preorder traversal given in array form (Fixes: #2707) (#2710)
Co-authored-by: Amit Kumar <akumar@indeed.com>
2021-10-26 09:12:50 +03:00
januslinhc
4f13178109
Add LRU Cache (#2740) 2021-10-26 08:47:15 +03:00
Ian Cowan
4969f9f153
Add BFS to binary tree and add note about inorder traversal == DFS (#2734)
* Add bfs to binary tree - `Fixes #2733`

* Add note on the equivalence of dfs and inorder - `Fixes #2733`

Co-authored-by: Yang Libin <szuyanglb@outlook.com>
2021-10-25 14:43:37 +08:00
KanakalathaVemuru
e3fde56d4d
Add Segment Tree (#2691) 2021-10-25 08:24:13 +03:00
DEBADRIBASAK
4b9acaeba5
Add README for Graph (#2601) 2021-10-24 14:32:40 +03:00
NimrodRak
b608657e50
Add Disjoint Set (#2684) 2021-10-24 10:28:21 +03:00
Richa Srivastava
e341f44065
Update README.md of stack (#2671) 2021-10-24 10:18:49 +03:00
ishika22
089ac333f2
Add Reverse Stack (#2653) 2021-10-23 15:20:26 +03:00
Shubhojeet Banerjee
77f138077b
Add Check Bipartite in Graph (#2708) 2021-10-23 12:34:56 +03:00
Madhur Panwar
ce53fee92f
Add Implementation of Tree Sort and Generic Type BST (#2638) 2021-10-20 18:38:21 +03:00
KanakalathaVemuru
4a2b190160
Add Fenwick Tree (#2570) 2021-10-20 11:19:30 +03:00
Aitor Fidalgo Sánchez
2b7a977cc8
Fix package declarations (#2576) 2021-10-16 16:43:51 +03:00
DEBADRIBASAK
60a0c23544
Fix Circular linked list (#2598) 2021-10-16 16:31:24 +03:00
Pramil
99362e2646
Add Vertical Order Traversal (#2585) 2021-10-14 17:33:51 +03:00
Paridhi Jain
ad81d0ef45
Add Circular Queue (#2528) 2021-10-12 09:33:10 +03:00
Ranjan Mohanty
4d06c5f6ba
Add remove duplicate nodes from a sorted linked list algorithm (#2452) 2021-10-12 08:19:21 +03:00
Amit Kumar
e118abdeca
Add ceil value in a Binary Search Tree (#2399)
Co-authored-by: Amit Kumar <akumar@indeed.com>
2021-10-10 08:49:22 +03:00
Nikita Kapoor
3184ae086f
Add Readme.md for Heap Data Structure (#2440) 2021-10-09 11:48:07 +03:00
DEBADRIBASAK
781a00c4d7
Add README for Trees (#2422) 2021-10-08 19:50:57 +03:00
DEBADRIBASAK
d9f97fd2ff
Add README for lists (#2421) 2021-10-08 19:47:36 +03:00
aayushi-kunwar13
9300a4e0f8
Add what is Cursor Linked List (#2407) 2021-10-08 19:38:08 +03:00
Abhinandan Padmakar Pandey
9b38ecdfa6
Fix typos #2352 (#2382) 2021-10-08 19:32:34 +03:00
Raunak Narayan
f6f12c0d81
Improve readme for stack (#2385) 2021-10-08 19:17:58 +03:00
Dhruv Panwar
d93492b2d8
Add Lowest Common Ancestor of two vertices in a tree (#2380) 2021-10-07 21:25:00 +03:00
Manan-Rathi
cdbcb5ec98
Add README.md for Queue (#2483) 2021-10-06 14:15:45 +03:00
Artem Boiarshinov
cfdd9a428b
Replace html syntax by markdown equivalent (#2500) 2021-10-06 08:41:29 +03:00
Simran Pattnaik
db85993d0e
Add Dijskstra's Algorithm (Fixes #2470) (#2476) 2021-10-05 16:16:28 +03:00
sahil-13399
3602904966
Implement MinMax solution using Stack (#2482)
Co-authored-by: sahil.samantaray <sahil.samantaray@nymble.in>
2021-10-04 21:02:18 +03:00
Nikita Kapoor
f622e7c7f7
Add Readme.md for HashMap data structure #2445 (#2449) 2021-10-03 12:52:53 +03:00
Dhruv Panwar
654aec92b0
Add Kahn's algorithm for topological sorting of a graph (HacktoberFest2021) (#2347) 2021-10-01 08:44:04 +03:00
kuroyukihime
b5f4ab282a
Detect a loop in linked list (#2346)
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2021-10-01 08:39:38 +03:00
Andrii Siriak
dfe189b21f
Resolve build errors & cleanup structure (#2334) 2021-09-26 12:26:59 +03:00
mohamadAmin
01179a3de6
create Readme.md for stacks (#2279)
* create Readme.md for stacks

* Update README.md

Co-authored-by: Yang Libin <contact@yanglibin.info>
2021-08-23 11:07:33 +08:00
github-actions
44dfbed43a Formatted with Google Java Formatter 2021-07-15 14:03:52 +00:00
Huayang Sun
d3a6ba2437
fix #2251 (#2252) 2021-07-15 22:03:07 +08:00
Nishant Chatterjee
02fab665de
fixed typo vertes to vertex Fixes: #{$2189} (#2190) 2021-04-18 18:02:48 +08:00
github-actions
6dd5b2029e Formatted with Google Java Formatter 2021-04-09 14:19:34 +00:00
Dennis Nilsson
0550711a3e
Update CountSinglyLinkedListRecursion.java (#2170)
Only method comment for public recursive method.
2021-04-09 22:18:51 +08:00
github-actions
5f59cd85d6 Formatted with Google Java Formatter 2021-03-26 11:27:48 +00:00
Chen Ostrovski
67cb97df82
Fix 2D array passed to Arrays.fill() (#2010)
Arrays.fill() accepts single dimensional arrays, so fill one row at a time.

Fixes TheAlgorithms/Java#2009
2021-03-26 19:27:16 +08:00
Sameer Ahmed Khan
912be910c8
Fixed Spelling error. See issue #2055 (#2083)
Corrected 'distance' spelling in line 51.
2021-02-03 19:23:10 +08:00
Sameer Ahmed Khan
d1e75019a7
FIXES: #2056 (#2085)
Fixed typo
2021-02-03 19:21:02 +08:00
Sameer Ahmed Khan
be8432c38e
Fixes: #2057 (#2086)
Fixed typo
2021-02-03 17:02:25 +08:00
Du Yuanchao
95484f8c89
update SinglyLinkedList (#2058) 2020-12-01 09:33:06 +08:00
shellhub
7137ac0164 Format with google formatter 2020-10-27 11:23:46 +08:00