Commit graph

456 commits

Author SHA1 Message Date
Vitor Oliveira
ceef771b0b
Merge pull request #104 from TheAlgorithms/vbrazo-patch-1
Power of two: bitwise approach
2021-03-21 10:40:24 -07:00
github-actions
639ad409d4 updating DIRECTORY.md 2021-03-20 18:10:40 +00:00
Vitor Oliveira
9a7313d669 move to array folder 2021-03-20 11:10:25 -07:00
github-actions
6bf41b50eb updating DIRECTORY.md 2021-03-20 18:04:48 +00:00
Vitor Oliveira
ea7ea7ec72 String concatenation approach 2021-03-20 11:04:34 -07:00
Vitor Oliveira
12e2addd81 Add naive approach 2021-03-20 11:02:29 -07:00
github-actions
fbb06b1332 updating DIRECTORY.md 2021-03-20 16:53:02 +00:00
Vitor Oliveira
d9273de377 Add bit manipulation folder and move power of two algorithm 2021-03-20 09:52:46 -07:00
Vitor Oliveira
b28aa0a252
Update power_of_two.rb 2021-03-19 20:59:40 -07:00
Vitor Oliveira
24acbadd4f Add bitwise approach 2021-03-19 20:57:03 -07:00
github-actions
6beab26c72 updating DIRECTORY.md 2021-03-20 00:00:32 +00:00
Vitor Oliveira
5ef8e68dbc
Merge pull request #103 from jsca-kwok/jk-power-of-two
Add power of two algorithm
2021-03-19 17:00:15 -07:00
Jessica Kwok
e0235a8da4 Clean up 2021-03-19 16:26:51 -07:00
Jessica Kwok
935faca63a Add single number challenge 2021-03-19 16:26:23 -07:00
Jessica Kwok
35cb119671 Move challenge from data structures to maths 2021-03-19 16:24:20 -07:00
Jessica Kwok
fbbcdac295 Added solution with log 2021-03-19 16:20:00 -07:00
Jessica Kwok
629de26a20 Added solution without recursion 2021-03-19 16:19:45 -07:00
Vitor Oliveira
fdfb4fff55
Merge pull request #102 from TheAlgorithms/add-sum-digits-different-approach
Add Digits: mathematical - digital root approach
2021-03-18 17:10:04 -07:00
Vitor Oliveira
94e6ea1c54
Update add_digits.rb 2021-03-18 17:06:59 -07:00
Vitor Oliveira
7cb81633bc
Update add_digits.rb 2021-03-18 17:05:12 -07:00
Vitor Oliveira
635eceab45 clean up 2021-03-18 17:04:22 -07:00
Vitor Oliveira
cfea175763 rollback 2021-03-18 17:02:07 -07:00
github-actions
faa125096a updating DIRECTORY.md 2021-03-19 00:01:28 +00:00
Vitor Oliveira
2171cad18e Mathematical: Digital Root approach 2021-03-18 17:00:54 -07:00
Vitor Oliveira
50b20705b9
Merge pull request #101 from jsca-kwok/jk-add-digits
Add Digits Algorithm
2021-03-18 16:45:53 -07:00
Jessica Kwok
80d52f7f6f Add solution using recursion 2021-03-18 13:50:30 -07:00
Jessica Kwok
fd3add587c Add solution without recursion 2021-03-18 13:15:19 -07:00
Jessica Kwok
5588587bc1 Add recursion solution 2021-03-18 08:55:05 -07:00
Jessica Kwok
899eaf1d3a Add add digits challenge 2021-03-17 08:17:08 -07:00
Vitor Oliveira
5a9a9c0058
Merge pull request #100 from TheAlgorithms/two-pointer-approach-remove-element
Remove element: two pointers approach
2021-03-16 17:32:34 -07:00
Vitor Oliveira
e4b8f4ae8b fix typo 2021-03-15 22:07:44 -07:00
Vitor Oliveira
74645b3e8f add tests 2021-03-15 22:00:08 -07:00
Vitor Oliveira
9576b18a61 Add another approach 2021-03-15 21:57:25 -07:00
Vitor Oliveira
d5877acb14 minor change 2021-03-15 21:50:51 -07:00
Vitor Oliveira
afef73db10 Add complexity analysis 2021-03-15 21:42:53 -07:00
Vitor Oliveira
ad35c2398c Remove Element: two pointers approach 2021-03-15 21:41:43 -07:00
github-actions
780c324417 updating DIRECTORY.md 2021-03-16 04:38:57 +00:00
Vitor Oliveira
d0edcd506f
Merge pull request #99 from jsca-kwok/jk-remove-element
Remove a given value from an array
2021-03-15 21:38:42 -07:00
Jessica Kwok
1f95ad15df Add solution using delete_at Ruby method 2021-03-15 10:08:31 -07:00
Jessica Kwok
ba03727fb6 Add solution using delete_if Ruby method 2021-03-15 09:52:22 -07:00
Jessica Kwok
9429ae92c1 Add remove elements challenge instructions 2021-03-12 18:51:41 -08:00
Vitor Oliveira
30159870fc
Merge pull request #98 from TheAlgorithms/two-sum-two-pointer-approach
Two sum: two pointers approach
2021-03-12 08:44:09 -08:00
Vitor Oliveira
16176d3936 Minor fixes 2021-03-11 22:07:56 -08:00
github-actions
471e6f9cd1 updating DIRECTORY.md 2021-03-12 06:05:16 +00:00
Vitor Oliveira
02f625f95a Move to a different file since the input is sorted by default 2021-03-11 22:04:59 -08:00
Vitor Oliveira
68bb214bc0 Keep condition consistent 2021-03-11 22:01:02 -08:00
Vitor Oliveira
2b5c1b9d02 Add two pointer approach 2021-03-11 21:58:44 -08:00
Vitor Oliveira
f1cf95fa6e
Merge pull request #97 from jsca-kwok/jk-two-sum
Two sum algorithm
2021-03-11 21:23:05 -08:00
Vitor Oliveira
de9a06bc26
Update data_structures/arrays/two_sum.rb 2021-03-11 21:22:39 -08:00
Vitor Oliveira
bdee1f9277
Update data_structures/arrays/two_sum.rb 2021-03-11 21:22:34 -08:00