dsmurrow
581dd22ae0
chore: add math
to CMake lists ( #1236 )
2023-03-24 13:27:10 -06:00
Rishav Kumar
9997c8bdf0
fix: memory allocation method ( #1220 )
...
* Fix : memory allocation method
"new" is not used in C , because of that the compiler was giving compilation error.
Instead malloc was used for memory allocation.
* updating DIRECTORY.md
* Update data_structures/graphs/kruskal.c
Co-authored-by: Stepfen Shawn <m18824909883@163.com>
* updating DIRECTORY.md
---------
Co-authored-by: github-actions[bot] <github-actions@users.noreply.github.com>
Co-authored-by: Stepfen Shawn <m18824909883@163.com>
2023-03-17 12:01:44 -06:00
dsmurrow
acbaf4a291
feat: implemented BLAKE2b cryptographic hashing algorithm ( #1230 )
...
* feat: added BLAKE2b with one working assert
docs: added BLAKE2b to README.md
* [enhancement] added more doc comments and fully implemented BLAKE2b key hashing
* fix: forgot to add arg
* chore: applied clang-format
* updating DIRECTORY.md
* docs: added main function docs
Co-authored-by: David Leal <halfpacho@gmail.com>
* docs: removed @file qualifier
Co-authored-by: David Leal <halfpacho@gmail.com>
* docs: added doc comment for assert_bytes()
Co-authored-by: David Leal <halfpacho@gmail.com>
* docs: added documentation for #include's
As requested by Panquesito27 in https://github.com/TheAlgorithms/C/pull/1230#discussion_r1130143641
* docs: added algorithm description
As requested in https://github.com/TheAlgorithms/C/pull/1230#discussion_r1130143364
* docs: added reasoning for warning suppression pragmas
* docs: spellcheck and additions
Added doc for bb definition.
Added description for mixing function G and compression function F.
* Added print statement to let user know tests have passed
Co-authored-by: David Leal <halfpacho@gmail.com>
* Updated doc comments for variables
* docs: removed old doc comments
* fix: had minus sign instead of assignment operator
* chore: replaced uint64_t[16] with block_t type to improve readability
* docs: defined macro constants to reduce magic numbers
* fix: fixed memory leak in blake2b()
* docs: moved comment
Moved comment about the suppressed warning directly above the code that emits the warning
* docs: added psuedocode/feat: added u128
Added psuedocode for the algorithm in doc comment for BLAKE2B(). Added return docs for void functions. Defined an unsigned 128-bit integer to match the max input size specified for the algorithm.
* fix: fixed build errors
* docs: added some clarifying comments
* docs: reduced magic numbers
---------
Co-authored-by: github-actions[bot] <github-actions@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2023-03-13 20:38:42 -06:00
Bao Hexing
62359492bf
fix: addition of two polynomials memory leak and linked list crash ( #1211 )
...
Co-authored-by: David Leal <halfpacho@gmail.com>
2023-03-13 11:44:01 -06:00
Mindaugas
f0b38a3201
feat: remove nth node from end of list LeetCode ( #1222 )
...
* feat: remove nth node from end of list (leetcode #19 )
* fix: update the leetcode #19 solution to introduce node pointing to head
---------
Co-authored-by: David Leal <halfpacho@gmail.com>
2023-03-03 09:12:04 -06:00
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
Alexander Pantyukhin
1cfb88c5eb
docs: update the LeetCode contributing guide ( #1225 )
...
* Update README.md
Remove not actual information regrading the solutions list. Now it's updated automaticaly.
* updating DIRECTORY.md
* Update README.md
add note about automatically updating the `DIRECTORY.md` file
* Update leetcode/README.md
Co-authored-by: David Leal <halfpacho@gmail.com>
* updating DIRECTORY.md
---------
Co-authored-by: github-actions[bot] <github-actions@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2023-02-28 20:28:06 -06:00
Mindaugas
3c8f86e740
feat: add Letter combinations of phone book problem ( #1221 )
...
* feat: add Letter combinations of phone book problem (#17 )
* fix: add newline at the end of the file
* fix: add brief description of the algorithm
---------
Co-authored-by: David Leal <halfpacho@gmail.com>
2023-02-28 01:17:31 -06:00
Alexander Pantyukhin
0bc8f7a576
feat: add LeetCode jump game II ( #1213 )
...
* add leetcode Jump Game II
* updating DIRECTORY.md
* Update 45.c
free correct resources
* Update leetcode/src/45.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update leetcode/src/45.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update leetcode/src/45.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update leetcode/src/45.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update leetcode/src/45.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* updating DIRECTORY.md
---------
Co-authored-by: github-actions[bot] <github-actions@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2023-02-28 00:55:09 -06:00
CascadingCascade
59dc816c9d
feat: add Shunting Yard Algorithm ( #1219 )
...
* Create shunting_yard.c
* updating DIRECTORY.md
* Update shunting_yard.c
* Update shunting_yard.c
* Update shunting_yard.c
* updating DIRECTORY.md
* Update shunting_yard.c
* updating DIRECTORY.md
---------
Co-authored-by: github-actions[bot] <github-actions@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2023-02-27 17:05:50 -06:00
Mindaugas
6e94adf066
feat: add Longest Palindrome Substring solution ( #1210 )
...
* feat: add Longest Palindrome Substring solution
* fix: update formatting and allocate new results string
* fix: update formatting, fix bug related to the string copy
* fix: add parantheses for one line if statement
* fix: add comments for library inclusions
2023-02-25 20:35:50 +00:00
Heber Alturria
f6a326b268
feat: add LeetCode problem 540 ( #1217 )
...
* feat: add LeetCode problem 540
* feat: Added a description to the LeetCode problem 540
* feat: Added details in the description of the LeetCode problem 540
* feat: Changed a word in @details of the LeetCode problem 540
2023-02-23 11:32:04 -06:00
Mindaugas
5d3a841aa6
feat: add solution for the 3Sum Closest problem ( #16 ) ( #1216 )
...
* feat: add solution for the 3Sum Closest problem (#16 )
* fix: Update formatting
* fix: update compare function to avoid overflow in generic case
* chore: apply suggestions from code review
---------
Co-authored-by: David Leal <halfpacho@gmail.com>
2023-02-21 18:55:09 +08:00
CascadingCascade
5bf2c42bff
feat: add Patience Sort algorithm ( #1212 )
...
* updating DIRECTORY.md
* updating DIRECTORY.md
* feat: Add Patience Sort
https://en.wikipedia.org/wiki/Patience_sorting
* updating DIRECTORY.md
* Update sorting/patience_sort.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update sorting/patience_sort.c
Co-authored-by: David Leal <halfpacho@gmail.com>
---------
Co-authored-by: github-actions[bot] <github-actions@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2023-02-20 16:47:26 -06:00
wtz
521db035ca
docs: fix minor typos in data_structures/avl_tree.c
( #1218 )
2023-02-20 16:19:47 -06:00
Alexander Pantyukhin
2d505ccf13
add leetcode Permutation in String ( #1207 )
...
* add leetcode Permutation in String
* updating DIRECTORY.md
* Update leetcode/src/567.c
Co-authored-by: Stepfen Shawn <m18824909883@163.com>
* Update leetcode/src/567.c
Co-authored-by: Stepfen Shawn <m18824909883@163.com>
* Update leetcode/src/567.c
Co-authored-by: Stepfen Shawn <m18824909883@163.com>
* Update leetcode/src/567.c
Co-authored-by: Stepfen Shawn <m18824909883@163.com>
* Update leetcode/src/567.c
Co-authored-by: Stepfen Shawn <m18824909883@163.com>
* Update leetcode/src/567.c
Co-authored-by: Stepfen Shawn <m18824909883@163.com>
* Update leetcode/src/567.c
Co-authored-by: Stepfen Shawn <m18824909883@163.com>
* Update leetcode/src/567.c
Co-authored-by: Stepfen Shawn <m18824909883@163.com>
* Update leetcode/src/567.c
Co-authored-by: Stepfen Shawn <m18824909883@163.com>
* Update leetcode/src/567.c
Co-authored-by: Stepfen Shawn <m18824909883@163.com>
* Update leetcode/src/567.c
Co-authored-by: Stepfen Shawn <m18824909883@163.com>
* Update leetcode/src/567.c
Co-authored-by: Stepfen Shawn <m18824909883@163.com>
* Update 567.c
fix review notes
* Update 567.c
remove redundant line
---------
Co-authored-by: github-actions[bot] <github-actions@users.noreply.github.com>
Co-authored-by: Stepfen Shawn <m18824909883@163.com>
2023-02-06 04:52:24 -06:00
Alexander Pantyukhin
4830210f69
add leetcode Verifying an Alien Dictionary ( #1205 )
...
* add leetcode Verifying an Alien Dictionary
* updating DIRECTORY.md
* Update 953.c
add blank line at the end
---------
Co-authored-by: github-actions[bot] <github-actions@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2023-02-04 12:51:01 +00:00
Alexander Pantyukhin
55f73501ea
feat: add Distribute Coins in Binary Tree LeetCode ( #1206 )
...
* add leetcode Distribute Coins in Binary Tree
* updating DIRECTORY.md
* Update 979.c
fix review notes
* Update leetcode/src/979.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update leetcode/src/979.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update leetcode/src/979.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update leetcode/src/979.c
Co-authored-by: David Leal <halfpacho@gmail.com>
---------
Co-authored-by: github-actions[bot] <github-actions@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2023-02-03 18:11:43 -06:00
CascadingCascade
55d8023f06
feat: add matrix chain order ( #1198 )
...
* feat: add Matrix Chain Order
* updating DIRECTORY.md
* Update dynamic_programming/matrix_chain_order.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update dynamic_programming/matrix_chain_order.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update dynamic_programming/matrix_chain_order.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update matrix_chain_order.c
* chore: apply suggestions from code review
* chore: apply suggestions from code review
* updating DIRECTORY.md
* Update dynamic_programming/matrix_chain_order.c
Co-authored-by: Taj <tjgurwara99@users.noreply.github.com>
* updating DIRECTORY.md
* updating DIRECTORY.md
---------
Co-authored-by: github-actions[bot] <github-actions@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: Taj <tjgurwara99@users.noreply.github.com>
2023-02-03 12:38:35 -06:00
Alexander Pantyukhin
9fa578d4b5
feat: add N-th Tribonacci number ( #1202 )
...
* add leetcode n-th Tribonacci number
* updating DIRECTORY.md
* updating DIRECTORY.md
---------
Co-authored-by: github-actions[bot] <github-actions@users.noreply.github.com>
2023-02-02 19:58:32 -06:00
Alexander Pantyukhin
e2b8a617d6
feat: add Find the Town Judge LeetCode problem ( #1199 )
...
* add leetcode Find the Town Judge
* updating DIRECTORY.md
* Update leetcode/src/997.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* updating DIRECTORY.md
---------
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: github-actions[bot] <github-actions@users.noreply.github.com>
2023-01-31 13:26:17 -06:00
Aybars Nazlica
e8d3811f12
feat: add hamming distance ( #1200 )
...
* feat: add hamming distance
* Update misc/hamming_distance.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update misc/hamming_distance.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* updating DIRECTORY.md
* Add curly braces to the while loop
* Fix character comparison
* Add a one-line description for library/header
* Update misc/hamming_distance.c
Co-authored-by: Taj <tjgurwara99@users.noreply.github.com>
* Fix function names in test
---------
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: github-actions[bot] <github-actions@users.noreply.github.com>
Co-authored-by: Taj <tjgurwara99@users.noreply.github.com>
2023-01-31 13:24:50 -06:00
Alexander Pantyukhin
5ef38b30f6
fix: indentation for leetcode_directory_md.py
( #1203 )
...
* fix indentation for leetcode_directory_md.py
* small fix
2023-01-31 13:14:36 -06:00
Alexander Pantyukhin
88d29872f9
feat: add LeetCode Pow(x, n) ( #1194 )
...
* add leetcode Pow(x, n)
* Update 50.c
fix comment
* Update 50.c
simplification
* add lower_bound const.
* updating DIRECTORY.md
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: github-actions[bot] <github-actions@users.noreply.github.com>
2023-01-23 23:06:49 -06:00
Alexander Pantyukhin
90d7d81807
feat: Add LeetCode directory writer ( #1187 )
...
* add leetcode_directory_writer
* updating DIRECTORY.md
* Update leetcode_directory_md.py
add script header
* updating DIRECTORY.md
* updating DIRECTORY.md
* Update .github/workflows/leetcode_directory_writer.yml
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update .github/workflows/leetcode_directory_writer.yml
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update .github/workflows/leetcode_directory_writer.yml
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update .github/workflows/leetcode_directory_writer.yml
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update .github/workflows/leetcode_directory_writer.yml
Co-authored-by: David Leal <halfpacho@gmail.com>
* updating DIRECTORY.md
* Update .github/workflows/leetcode_directory_writer.yml
Co-authored-by: David Leal <halfpacho@gmail.com>
* updating DIRECTORY.md
* Update .github/workflows/leetcode_directory_writer.yml
Co-authored-by: David Leal <halfpacho@gmail.com>
* updating DIRECTORY.md
* updating DIRECTORY.md
* Update .github/workflows/leetcode_directory_writer.yml
Co-authored-by: Taj <tjgurwara99@users.noreply.github.com>
* Update scripts/leetcode_directory_md.py
Co-authored-by: Taj <tjgurwara99@users.noreply.github.com>
* Update scripts/leetcode_directory_md.py
Co-authored-by: Taj <tjgurwara99@users.noreply.github.com>
* Update scripts/leetcode_directory_md.py
Co-authored-by: Taj <tjgurwara99@users.noreply.github.com>
* fix formating
* updating DIRECTORY.md
* updating DIRECTORY.md
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: github-actions[bot] <github-actions@users.noreply.github.com>
Co-authored-by: Taj <tjgurwara99@users.noreply.github.com>
2023-01-23 11:24:50 -06:00
Alexander Pantyukhin
74ef8f5806
feat: add Binary Tree Maximum Path Sum ( #1179 )
...
* add leetcode Binary Tree Maximum Path Sum
* Update leetcode/src/124.c
Co-authored-by: Taj <tjgurwara99@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: Taj <tjgurwara99@users.noreply.github.com>
2023-01-21 18:42:07 -06:00
Satvik
5ac30afa86
feat: add LeetCode problem 75 ( #1113 )
...
* added leetcode problem 75
* Update 75.c
resolved issues
* Update 75.c
* updating DIRECTORY.md
* Update 75.c
Removed the header file
* chore: apply suggestions from code review
Co-authored-by: Taj <tjgurwara99@users.noreply.github.com>
* updating DIRECTORY.md
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: Taj <tjgurwara99@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions@users.noreply.github.com>
2023-01-20 17:50:49 -06:00
Alexander Pantyukhin
a680c83b83
feat: add Maximum Ice Cream Bars ( #1197 )
...
Co-authored-by: David Leal <halfpacho@gmail.com>
2023-01-20 17:49:15 -06:00
Alexander Pantyukhin
17b7131873
add leetcode Maximum Bags With Full Capacity of Rocks ( #1196 )
...
* add leetcode Maximum Bags With Full Capacity of Rocks
* Update leetcode/src/2279.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update leetcode/src/2279.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update leetcode/src/2279.c
Co-authored-by: David Leal <halfpacho@gmail.com>
2023-01-20 17:48:26 -06:00
Alexander Pantyukhin
b98296e02f
feat: add Determine if Two Strings Are Close ( #1192 )
...
* add leetcode Determine if Two Strings Are Close
* Update 1657.c
add comments
* Update leetcode/src/1657.c
Co-authored-by: David Leal <halfpacho@gmail.com>
2023-01-20 17:46:02 -06:00
Alexander Pantyukhin
73913ac4a8
feat: add Find the Smallest Divisor Given a Threshold ( #1175 )
...
* add leetcode Find the Smallest Divisor Given a Threshold
* Update leetcode/DIRECTORY.md
Co-authored-by: David Leal <halfpacho@gmail.com>
2023-01-20 17:39:35 -06:00
Alexander Pantyukhin
b819ddf3e6
feat: add Frequency of the Most Frequent Element ( #1195 )
...
* add leetcode Frequency of the Most Frequent Element
* Update 1838.c
small fix
* Update leetcode/src/1838.c
Co-authored-by: David Leal <halfpacho@gmail.com>
2023-01-20 15:42:23 -06:00
Alexander Pantyukhin
60a0c5947d
feat: add Difference Between Ones and Zeros in Row and Column ( #1183 )
...
* add leetcode Difference Between Ones and Zeros in Row and Column
* Update leetcode/DIRECTORY.md
Co-authored-by: David Leal <halfpacho@gmail.com>
2023-01-19 22:43:10 -06:00
Sindhu Inti
e68296c07c
feat: add delete the Middle Node of a Linked List solution ( #1023 )
...
* feat:leetcode Delete the Middle Node of a Linked List solution (2095)
* Update README.md
* Update README.md
* Update DIRECTORY.md
Co-authored-by: David Leal <halfpacho@gmail.com>
2023-01-19 22:29:34 -06:00
Alexander Pantyukhin
103361de54
feat: add Keys and Rooms LeetCode problem ( #1189 )
...
Co-authored-by: David Leal <halfpacho@gmail.com>
2023-01-19 22:09:32 -06:00
Alexander Pantyukhin
02c01047a7
feat: add Longest Chunked Palindrome Decomposition ( #1184 )
...
* add leetcode Longest Chunked Palindrome Decomposition
* Update leetcode/src/1147.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update 1147.c
fix review
Co-authored-by: David Leal <halfpacho@gmail.com>
2023-01-18 14:34:19 -06:00
Alexander Pantyukhin
108fbede16
feat: add Longest Square Streak in an Array ( #1185 )
...
Co-authored-by: David Leal <halfpacho@gmail.com>
2023-01-18 14:06:45 -06:00
Alexander Pantyukhin
1b6fe6ea17
feat: add Minimum Falling Path Sum ( #1182 )
...
Co-authored-by: David Leal <halfpacho@gmail.com>
2023-01-18 13:54:30 -06:00
Alexander Pantyukhin
36d1b265a7
feat: add Redundant Connection ( #1181 )
...
Co-authored-by: David Leal <halfpacho@gmail.com>
2023-01-18 13:15:47 -06:00
Alexander Pantyukhin
78d083fd84
feat: add Maximum Difference Between Node and Ancestor ( #1180 )
...
* add leetcode Maximum Difference Between Node and Ancestor
* chore: fix Markdown ordering
Co-authored-by: David Leal <halfpacho@gmail.com>
2023-01-18 13:15:20 -06:00
Alexander Pantyukhin
8cbb76a02b
feat: add Number of Laser Beams in a Bank ( #1174 )
...
Co-authored-by: David Leal <halfpacho@gmail.com>
2023-01-18 13:13:06 -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
Alexander Pantyukhin
1a5b5f522f
feat: add LeetCode folder labeler ( #1191 )
...
* add labeler for Leetcode changes folder
* Update labeler.yml
add end line
Co-authored-by: David Leal <halfpacho@gmail.com>
2023-01-05 17:24:30 -06:00
Saad H
60310deb9e
feat: add process_scheduling_algorithms
to CMake ( #1193 )
...
* Update CMakeLists.txt
* Create CMakeLists.txt
Co-authored-by: David Leal <halfpacho@gmail.com>
2022-12-28 14:35:41 -06:00
Alexander Pantyukhin
b8a8807585
feat: add Minimum Average Difference ( #1171 )
...
* add leetcode Minimum Average Difference
* updating DIRECTORY.md
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: github-actions[bot] <github-actions@users.noreply.github.com>
2022-12-27 11:45:39 -06:00
Alexander Pantyukhin
bed955ed40
feat: add Max Increase to Keep City Skyline ( #1173 )
...
Co-authored-by: David Leal <halfpacho@gmail.com>
2022-12-27 01:21:10 -06:00
itskurtz
a4e7b7bc4b
feat: add LCS algorithm ( #1164 )
...
* feat: add lcs dynamic programming algorithm
* updating DIRECTORY.md
* updating DIRECTORY.md
* fix: fix unused parameters in lcs algorithm
* fix: lcs algorithm typo removed unused parameter in test
* Update dynamic_programming/lcs.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update dynamic_programming/lcs.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update dynamic_programming/lcs.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* fix: comments accoring to guidelines in lcs algorithm
* fix: doxygen standards
* chore: apply suggestions from code review
* updating DIRECTORY.md
Co-authored-by: Scott Evans <scotty@kurtz.waterfall>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: github-actions[bot] <github-actions@users.noreply.github.com>
2022-12-23 19:46:51 -06:00
Defective Detective
56b72da9fb
chore: move various misc
folder... ( #1177 )
...
...algorithms to the `math` folder.
Co-authored-by: David Leal <halfpacho@gmail.com>
2022-12-22 11:26:50 -06:00
Alexander Pantyukhin
0618d4d007
feat: add H-Index LeetCode problem ( #1188 )
...
* add leetcode H-Index
* Update leetcode/src/274.c
Co-authored-by: Taj <tjgurwara99@users.noreply.github.com>
* Update 274.c
fix review notes.
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: Taj <tjgurwara99@users.noreply.github.com>
2022-12-21 22:42:07 -06:00
Taj
cafd06725c
feat: Use the new filename_formatter
workflow ( #1190 )
...
* updating DIRECTORY.md
* using script action for filename formatting
Co-authored-by: github-actions[bot] <github-actions@users.noreply.github.com>
2022-12-21 22:39:23 -06:00