Commit Graph

26 Commits

Author SHA1 Message Date
Sahil Kandhare
f141ae4166
feat: add Circular Doubly Linked List implementation (#1038)
* Create circular_doubly_linked_list.c

* Update data_structures/linked_list/circular_doubly_linked_list.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update circular_doubly_linked_list.c

Added brief description of library files

* Update data_structures/linked_list/circular_doubly_linked_list.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update data_structures/linked_list/circular_doubly_linked_list.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update circular_doubly_linked_list.c

Done the all suggested changes.

* Update data_structures/linked_list/circular_doubly_linked_list.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update data_structures/linked_list/circular_doubly_linked_list.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update circular_doubly_linked_list.c

* updating DIRECTORY.md

* updating DIRECTORY.md

* updating DIRECTORY.md

* Update data_structures/linked_list/circular_doubly_linked_list.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* There was typo while calling delete_first_node !

* Update data_structures/linked_list/circular_doubly_linked_list.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update data_structures/linked_list/circular_doubly_linked_list.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update data_structures/linked_list/circular_doubly_linked_list.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update data_structures/linked_list/circular_doubly_linked_list.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update data_structures/linked_list/circular_doubly_linked_list.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update data_structures/linked_list/circular_doubly_linked_list.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update data_structures/linked_list/circular_doubly_linked_list.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update data_structures/linked_list/circular_doubly_linked_list.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update data_structures/linked_list/circular_doubly_linked_list.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update data_structures/linked_list/circular_doubly_linked_list.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update data_structures/linked_list/circular_doubly_linked_list.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update data_structures/linked_list/circular_doubly_linked_list.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update data_structures/linked_list/circular_doubly_linked_list.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* updating DIRECTORY.md

* Suggested changes are done.

Done the suggested changes in functions 
1. delete_first_node() 
2. delete_last_node()

* updating DIRECTORY.md

* updating DIRECTORY.md

* Worked on Suggested Changes

* Suggested changes are done.

* Update circular_doubly_linked_list.c

Worked on all the suggested changes.

Co-Authored-By: David Leal <halfpacho@gmail.com>
Co-Authored-By: CascadingCascade <122662061+CascadingCascade@users.noreply.github.com>
Co-Authored-By: Taj <tjgurwara99@users.noreply.github.com>

* updating DIRECTORY.md

* updating DIRECTORY.md

* Worked on suggested changes for test cases.

Check the code's functionality [here](https://leetcode.com/playground/WcRBMWa8)

Co-Authored-By: CascadingCascade <122662061+CascadingCascade@users.noreply.github.com>

* updating DIRECTORY.md

* Update data_structures/linked_list/circular_doubly_linked_list.c

Co-authored-by: CascadingCascade <122662061+CascadingCascade@users.noreply.github.com>

* Update circular_doubly_linked_list.c

Update: Worked on suggested changes.

* Update data_structures/linked_list/circular_doubly_linked_list.c

Co-authored-by: CascadingCascade <122662061+CascadingCascade@users.noreply.github.com>

* Update data_structures/linked_list/circular_doubly_linked_list.c

Co-authored-by: CascadingCascade <122662061+CascadingCascade@users.noreply.github.com>

* Update data_structures/linked_list/circular_doubly_linked_list.c

Co-authored-by: CascadingCascade <122662061+CascadingCascade@users.noreply.github.com>

* Worked on suggested changes.

* Minor upgrade.

* updating DIRECTORY.md

---------

Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: github-actions[bot] <github-actions@users.noreply.github.com>
Co-authored-by: CascadingCascade <122662061+CascadingCascade@users.noreply.github.com>
Co-authored-by: Taj <tjgurwara99@users.noreply.github.com>
2023-03-02 17:30:56 -06:00
ms3939
3014b7352d
feat: improve the Singly Link List implementation (#1092)
* Update singly_link_list_deletion.c

Delete function is updated to delete at any required position (not only first)

* Update singly_link_list_deletion.c

The code is changed as per the suggestions. Please lat me know if there are any changes to be done
Thank you

* Update singly_link_list_deletion.c

The code is changed as per the suggestions. Please let me know if there are any changes to be done
Thank you..

* Update singly_link_list_deletion.c

I added inserting at any input location . Please let me know if changes need to be done

* Update singly_link_list_deletion.c

* Update singly_link_list_deletion.c

I updated self tests for both insert and delete functions properly. Please let me know if any changes need to be done
Thank you

* Update singly_link_list_deletion.c

As per your suggestions I updated the code. Please let me know if any changes need to be done..

* chore: apply suggestions from code review

Co-authored-by: David Leal <halfpacho@gmail.com>
2023-01-05 17:28:08 -06:00
Shuangchi He
889931acc8
chore: fix various spelling typos (#945) 2022-09-27 10:58:15 -05:00
Suraj Patro
752cde71ef
Update stack_using_linked_lists.c 2020-10-31 00:13:40 +05:30
Gabriel Mota Bromonschenkel Lima
778f317e82
Rename redblacktree.c to red_black_tree.c (#684)
* Rename redblacktree.c to red_black_tree.c

* updating DIRECTORY.md

* add renaming avl.c and ascendingpriorityqueue.c

* updating DIRECTORY.md

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-10-20 12:51:47 -04:00
Gabriel Mota Bromonschenkel Lima
74e81de85a
Doubly linked list, simple code. (#673)
* Doubly linked list, simple code.

#633

* organizing code a bit more

* add link in DIRECTORY.md and more comments/cleaning.

* remove global variables and redundancy.

* add Wikipedia reference

* add documentation comments in all functions/headers

* add update in file brief

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>

* remove part of file @details

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
2020-10-20 12:50:48 -04:00
Lza-etc
adcbc39e3c
Rename CircularLinkedList.C to circular_linked_list.c (#679) 2020-10-19 18:31:01 -04:00
github-actions
6f98288110 formatting source-code for 5bba04b671 2020-06-28 15:25:37 +00:00
github-actions
0779a2b70d formatting source-code for b388e4a309 2020-05-29 20:23:24 +00:00
Sombit Bose
1c07d61ce3
Merge pull request #538 from shubhamsah/master
Added Priority Queue, Queue (link list) and Merge Sort
2020-05-28 15:12:18 +05:30
Shubham Sah
b86a4747ca
Create queue_linked_list.c
Implementation of Queue using Linked List.
2020-05-28 12:26:56 +05:30
Shubham Sah
2a4fd0b735
Update and rename ascendingPriorityQueue.c to ascendingpriorityqueue.c 2020-05-28 11:29:24 +05:30
Shubham Sah
a652d51791
Update AscendingPriorityQueue.c
Added the output of the file
2020-05-26 21:06:32 +05:30
Sombit Bose
23df4b58d8
Update File
A Demo Sample Test case added
2020-05-26 20:58:51 +05:30
Shubham Sah
9ed17fc3c9
Create Ascending Priority Queue
Code to implement Ascending Priority Queue
2020-05-23 21:29:54 +05:30
Shubham Sah
1494474db6
Delete APQ.C 2020-05-23 21:28:35 +05:30
Shubham Sah
8ac3f2a609
Create AscendingPriorityQueue.c 2020-05-23 21:28:16 +05:30
Stepfen Shawn
418f0f55a4
Merge pull request #533 from shubhamsah/master
Circular Linked List
2020-05-22 23:08:15 +08:00
Shubham Sah
a3e1817738
Rename CLL.C to CircularLinkedList.C 2020-05-18 15:38:30 +05:30
Shubham Sah
104bf2cafc
Create Circular Linked List
Program to create Circular linked list with options to create, delete and traverse the list
2020-05-18 15:37:18 +05:30
Suraj Patil
15c2ced3ba
Fix spelling mistake 2020-05-17 20:37:48 +05:30
cclauss
ecb73860a3 Fix filenames for DIRECTORY.md 2020-01-09 10:27:32 +01:00
Rachit Gangwal
affe8213bb
Create middleElementInList.c 2019-10-19 19:01:58 +05:30
Anup Kumar Panwar
444d4b11d5 Refactor 2018-10-08 21:18:35 +05:30
AnupKumarPanwar
81657fc249 Updated README.md 2017-10-20 22:03:41 +05:30
“prakamya-mishra”
4b8c3d10a0 Singly Linked list deletion 2017-09-28 18:34:46 +05:30