Commit graph

405 commits

Author SHA1 Message Date
Abhinav Anand
1fb0258c8e
iterative method to convert decimal to binary 2021-03-06 23:38:28 +05:30
vzvu3k6k
06ce984675
Merge pull request #88 from TheAlgorithms/add-more-explanation-to-array-challenge
O(1) space approach - Get products of all other elements
2021-03-05 04:55:16 +09:00
Vitor Oliveira
627ab8a265 Drop unused .each 2021-03-01 16:47:45 -08:00
Vitor Oliveira
f072feacff Use .count as standard 2021-03-01 16:46:57 -08:00
Vitor Oliveira
32706822fa
remove nil 2021-03-01 16:44:18 -08:00
Vitor Oliveira
1d84acbabf Fix issues 2021-02-28 17:12:11 -08:00
Vitor Oliveira
059d319a09 Change condition structure 2021-02-28 17:03:15 -08:00
Vitor Oliveira
29dc653dba Minor changes 2021-02-28 17:01:15 -08:00
github-actions
b46199608c updating DIRECTORY.md 2021-02-28 21:54:00 +00:00
Vitor Oliveira
e75fd5b786
Merge pull request #87 from Rastrian/dynamicprogramming-coinchange
[Dynamic Programming] Coin Change
2021-02-28 13:53:48 -08:00
Luis Vaz
0c95458661
Apply suggestions from code review
Co-authored-by: Vitor Oliveira <vbrazo@gmail.com>
2021-02-28 18:51:55 -03:00
Vitor Oliveira
8e1e5586a5 Add O(1) space approach 2021-02-28 13:24:29 -08:00
Vitor Oliveira
c829dd4896 Add more explanation 2021-02-28 13:17:09 -08:00
Rastrian
3b7f1e910e Added Coin Change problem 2021-02-28 09:08:27 -03:00
vzvu3k6k
11328ae839
Merge pull request #86 from vzvu3k6k/sort_tests
Complete tests of sort algorithms
2021-02-28 13:08:10 +09:00
github-actions
3678726e4a updating DIRECTORY.md 2021-02-27 19:57:25 +00:00
vzvu3k6k
a6b45425ed Add tests for shell sort 2021-02-17 02:47:21 +09:00
vzvu3k6k
d13fdb99f2 Add tests for selection sort 2021-02-17 02:45:36 +09:00
vzvu3k6k
4ab2acac52 Add tests for radix sort 2021-02-17 02:34:36 +09:00
vzvu3k6k
3b9fb45c73 Add tests for quicksort 2021-02-17 02:33:19 +09:00
vzvu3k6k
c14e58f068 Add tests for merge sort 2021-02-17 02:31:11 +09:00
vzvu3k6k
a88eaa82a7 Add tests for insertion sort 2021-02-17 02:14:52 +09:00
vzvu3k6k
ac449e637c Add tests for heap sort 2021-02-17 02:13:36 +09:00
vzvu3k6k
81bd32aed0 Clarify expected sort method interface 2021-02-17 02:09:59 +09:00
vzvu3k6k
fe52b262da Add tests for bucket sort 2021-02-17 02:09:59 +09:00
vzvu3k6k
aeb2478faa Fix interface of bucket_sort for testing 2021-02-14 03:44:21 +09:00
Vitor Oliveira
bc96d1c4ea
Merge pull request #84 from TheAlgorithms/improve-doubly-linked-list
[Data structures] Add circular linked list and improve singly/doubly linked list
2021-02-13 10:33:04 -08:00
Vitor Oliveira
3896dcac3a Do not use CamelCase 2021-02-13 10:20:58 -08:00
Vitor Oliveira
f73c8ff2c2 Minor changes 2021-02-13 10:19:20 -08:00
Vitor Oliveira
f0e877d898
Merge pull request #85 from vzvu3k6k/sort_tests
Introduce SortTests module to share sorting test cases
2021-02-13 09:57:51 -08:00
github-actions
58b9b599fa updating DIRECTORY.md 2021-02-13 17:55:08 +00:00
Vitor Oliveira
97f5d87d96 Delete unnecessary file 2021-02-13 09:54:52 -08:00
github-actions
9559439b36 updating DIRECTORY.md 2021-02-13 17:54:25 +00:00
Vitor Oliveira
906ccac28d Make changes according to review 2021-02-13 09:54:10 -08:00
Vitor Oliveira
baa7ca17b4
Update data_structures/linked_lists/circular_linked_list.rb
Co-authored-by: vzvu3k6k <vzvu3k6k@gmail.com>
2021-02-13 09:47:50 -08:00
github-actions
6f2bcfbdb8 updating DIRECTORY.md 2021-02-13 16:25:47 +00:00
vzvu3k6k
b440aded06 Add tests for bubble sort 2021-02-14 01:25:24 +09:00
vzvu3k6k
76d3fac587 Extract sort test cases to SortTests 2021-02-14 01:25:21 +09:00
github-actions
36d8075f3f updating DIRECTORY.md 2021-02-07 18:24:38 +00:00
Vitor Oliveira
c99c8ffb04 Rename files 2021-02-07 10:24:22 -08:00
Vitor Oliveira
0624af6cb9 Rename class names 2021-02-07 10:17:53 -08:00
Vitor Oliveira
a4b8e1eb15 Add tests for Circular linked list 2021-02-07 10:15:36 -08:00
Vitor Oliveira
94bd130aad Add quick test for SingleList 2021-02-07 10:13:12 -08:00
Vitor Oliveira
5ddb7345bf remove unused variable 2021-02-07 10:13:12 -08:00
github-actions
1c20c18b43 updating DIRECTORY.md 2021-02-07 18:09:07 +00:00
Vitor Oliveira
1511265825 Improve doubly linked list 2021-02-07 10:08:48 -08:00
Vitor Oliveira
8607abde16 minor changes 2021-02-06 23:14:50 -08:00
Vitor Oliveira
1fe4dead1b minor changes 2021-02-06 23:12:37 -08:00
Vitor Oliveira
e21120857d Clean up 2021-02-06 23:05:54 -08:00
github-actions
3bde29dd55 updating DIRECTORY.md 2021-02-07 06:49:35 +00:00