Commit graph

282 commits

Author SHA1 Message Date
Jessica Kwok
ea6ed79f4b Add .gitignore file 2021-03-10 15:07:29 -08:00
Jessica Kwok
75aaa6e910
Update data_structures/arrays/sort_squares_of_an_array.rb
Co-authored-by: Vitor Oliveira <vbrazo@gmail.com>
2021-03-10 15:03:17 -08:00
Jessica Kwok
f9e7cd677d
Update data_structures/arrays/sort_squares_of_an_array.rb
Co-authored-by: Vitor Oliveira <vbrazo@gmail.com>
2021-03-10 15:02:55 -08:00
Jessica Kwok
92f09581f6 Add two pointers approach 2021-03-10 14:27:54 -08:00
Jessica Kwok
772be7084b Add bubble sort solution 2021-03-10 14:27:21 -08:00
Jessica Kwok
55e5b2a90f Refactored loop and multiply solution 2021-03-10 14:26:57 -08:00
Jessica Kwok
12e1a3c389 Add loop and multiply solution 2021-03-10 06:59:10 -08:00
github-actions
dee635f6da updating DIRECTORY.md 2021-03-07 21:31:28 +00:00
Vitor Oliveira
9b4a2e2d90
Merge pull request #91 from Femchengdu/add_fibonacci
Fibonacci: memoization approach
2021-03-07 13:31:14 -08:00
Vitor Oliveira
c2b3b327ac Fix merge issues 2021-03-07 13:02:33 -08:00
Vitor Oliveira
01d2691711 Use memo_hash 2021-03-07 13:00:10 -08:00
Vitor Oliveira
4ef0224ede Minor changes 2021-03-07 12:54:10 -08:00
Vitor Oliveira
2d2d1414d6
add more details to complexity analysis, add output 2021-03-07 12:34:50 -08:00
Vitor Oliveira
0a5ce13816
Update dynamic_programming/fast_fibonacci.rb 2021-03-07 12:32:55 -08:00
Vitor Oliveira
b1f6170d02
Update dynamic_programming/fast_fibonacci.rb
Co-authored-by: vzvu3k6k <vzvu3k6k@gmail.com>
2021-03-07 12:15:05 -08:00
Vitor Oliveira
bdd9832127
Merge pull request #90 from TheAlgorithms/add-recursive-decimal-to-binary-approach
Recursive method to convert decimal to binary
2021-03-07 09:27:20 -08:00
Vitor Oliveira
fafb2f0c18
keep the return consistent in recursive and iterative 2021-03-07 09:26:28 -08:00
范淼
3d8bc6b2c1 refactor: renamed from fibonacci to fast_fibonacci 2021-03-07 19:49:10 +08:00
范淼
147ad062c6 feat: added fibonacci.rb 2021-03-07 19:41:59 +08:00
Vitor Oliveira
4df383c902 Fix issue 2021-03-06 12:29:31 -08:00
Vitor Oliveira
f1051324d0
Update decimal_to_binary.rb 2021-03-06 12:18:27 -08:00
github-actions
06724c2502 updating DIRECTORY.md 2021-03-06 20:17:04 +00:00
Vitor Oliveira
cef59e1094 Add recursive approach 2021-03-06 12:16:43 -08:00
Vitor Oliveira
ff716d1f4c Rename file 2021-03-06 12:05:56 -08:00
github-actions
2e986753cd updating DIRECTORY.md 2021-03-06 19:54:12 +00:00
Vitor Oliveira
7882eeb439
Merge pull request #89 from atarax665/decimal_to_binary
Added iterative method to convert decimal to binary
2021-03-06 11:54:00 -08:00
Vitor Oliveira
446b0e3085
Update iterative_decimal_to_binary.rb 2021-03-06 11:48:27 -08:00
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