Commit graph

456 commits

Author SHA1 Message Date
Jessica Kwok
a6ae1c25b5 Add solution using a hash 2021-03-11 15:53:01 -08:00
Jessica Kwok
e58e707a57 Add another brute force solution 2021-03-11 09:20:26 -08:00
Jessica Kwok
6ed35ad29f Add brute force solution 2021-03-11 08:32:29 -08:00
github-actions
293ff73dca updating DIRECTORY.md 2021-03-10 23:29:41 +00:00
Vitor Oliveira
27d725d8de
Merge pull request #96 from jsca-kwok/jk-sorted-squares
Add algorithm for returning sorted squares
2021-03-10 15:29:26 -08:00
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
Vitor Oliveira
2f1c1ad766
Merge pull request #95 from TheAlgorithms/find-the-highest-altitude
Find the Highest Altitude
2021-03-10 14:50:33 -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
Vitor Oliveira
fb2e8a9fd2 remove unnecessary variable 2021-03-09 19:21:14 -08:00
Vitor Oliveira
aeb7ee9e53 add approach 2 2021-03-09 19:19:59 -08:00
github-actions
adf94db012 updating DIRECTORY.md 2021-03-10 03:10:23 +00:00
Vitor Oliveira
892c5d0064 Add approach 2021-03-09 19:10:06 -08:00
Vitor Oliveira
8363ae81fd Fix syntax issues 2021-03-09 19:03:25 -08:00
Vitor Oliveira
1553e26a91
Merge pull request #92 from TheAlgorithms/solve-fibonacci-with-math
Fibonacci: math approach
2021-03-09 16:42:36 -08:00
Vitor Oliveira
a786ac49fc Minor fixes 2021-03-09 16:38:56 -08:00
github-actions
7e0894ab62 updating DIRECTORY.md 2021-03-10 00:37:24 +00:00
Vitor Oliveira
d90fd521bb
Merge pull request #94 from jsca-kwok/jk-find-all-duplicates-in-array
Find All Duplicates in an Array
2021-03-09 16:37:11 -08:00
Vitor Oliveira
9f04ffb0df Change condition style 2021-03-09 16:36:29 -08:00
Vitor Oliveira
929568120c Minor changes 2021-03-09 16:32:57 -08:00
Jessica Kwok
13a2fe09b5 Hash table approach 2021-03-09 14:49:17 -08:00
Jessica Kwok
47a8216712 Sort plus comparing adjacent elements 2021-03-09 14:49:05 -08:00
Jessica Kwok
90a35a8197 Brute force approach 2021-03-09 14:48:21 -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
f3e7b55492
Update fibonacci.rb 2021-03-07 13:12:23 -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
630def0e26
Update fibonacci.rb 2021-03-07 12:51:40 -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
github-actions
556228305f updating DIRECTORY.md 2021-03-07 20:27:49 +00:00
Vitor Oliveira
34b316db74 Solve fibonacci with golden ratio formula 2021-03-07 12:27:36 -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