Commit graph

610 commits

Author SHA1 Message Date
Aboobacker MK
f4d6346106
Fix the complexity memoisation check
keys.include? number is not cheap as it is search operation on array and it increases the time complexity. replaced it with `key?` method to fix memoisation check part on O(1) complexity
2021-08-11 09:38:43 +05:30
Vitor Oliveira
f7538d07b4
Merge pull request #161 from jsca-kwok/jk-isomorphic-strings
Isomorphic Strings Algorithm
2021-07-20 19:32:19 -07:00
David Leal
0d04d07391
Add Discord badge in README.md 2021-07-18 00:03:43 -05:00
Jessica Kwok
d4b1efef5a
Added space complexity 2021-07-02 13:54:01 -07:00
Vitor Oliveira
eecebfe30a
Merge pull request #162 from jsca-kwok/jk-palindrome
Add almost palindrome algorithm
2021-07-02 12:53:59 -07:00
Vitor Oliveira
a0952eb7b2
add space complexity 2021-07-02 12:52:55 -07:00
Jessica Kwok
b40fe95c43 Extract split method from loop 2021-07-02 12:45:20 -07:00
Jessica Kwok
2375a7f97f Merge branch 'jk-palindrome' of https://github.com/jsca-kwok/Ruby into jk-palindrome 2021-06-29 14:04:08 -07:00
Jessica Kwok
6c72cd24a1 Add two pointers approach 2021-06-29 14:00:08 -07:00
Vitor Oliveira
f5c87a44d0
Merge pull request #158 from TheAlgorithms/pascal-triangle-ii-dd-approach 2021-06-25 19:09:16 -07:00
Vitor Oliveira
3ec899cc9c
Merge pull request #157 from TheAlgorithms/pascal-triangle-ii-math-approach 2021-06-25 19:08:54 -07:00
Jessica Kwok
66859e8491 Add palindrome challenge 2021-06-24 13:37:00 -07:00
Jessica Kwok
07c7bd1f27
Merge branch 'master' into jk-isomorphic-strings 2021-06-22 14:32:33 -07:00
Jessica Kwok
b2773bb773 Add hash solution 2021-06-22 14:31:04 -07:00
Jessica Kwok
3d0135b73a Move challenge to hash_table folder and update directory 2021-06-21 16:56:49 -07:00
Jessica Kwok
2e35433597 Add isomorphic strings challenge 2021-06-15 16:09:38 -07:00
Vitor Oliveira
6defd7eab5
add missing output 2021-06-08 11:42:17 -07:00
Vitor Oliveira
b4d5726791
add enter 2021-06-08 11:36:07 -07:00
Vitor Oliveira
08b2e6b547
minor changes 2021-06-08 11:31:15 -07:00
Vitor Oliveira
c7329e6bf4 add brute force approach 2021-06-08 11:30:17 -07:00
Vitor Oliveira
130e736aa6 minor changes 2021-06-08 11:30:17 -07:00
github-actions
e202d15e6b updating DIRECTORY.md 2021-06-08 18:28:22 +00:00
Vitor Oliveira
a0af18e002 Add dynamic programming approach 2 2021-06-08 11:28:05 -07:00
Vitor Oliveira
c8b91b8222 Add dynamic programming approach 1 2021-06-08 11:27:59 -07:00
github-actions
2763a871fa updating DIRECTORY.md 2021-06-08 18:25:23 +00:00
Vitor Oliveira
5f6036b6c6 Pascal triangle ii: math approach 2021-06-08 11:25:04 -07:00
github-actions
aece3afeee updating DIRECTORY.md 2021-06-08 02:39:00 +00:00
Vitor Oliveira
20367f2490
Merge pull request #155 from jsca-kwok/jk-common-characters
Add common characters algorithm
2021-06-07 19:38:45 -07:00
Vitor Oliveira
bf6d576453
Merge branch 'master' into jk-common-characters 2021-06-04 01:20:13 -07:00
Jessica Kwok
c01e4b5b0c Update directory with solution in hash table section 2021-06-03 10:12:02 -07:00
Jessica Kwok
3a104e9ff0 Move solution to hash table section 2021-06-03 10:11:21 -07:00
github-actions
d41ed0d595 updating DIRECTORY.md 2021-06-02 07:16:42 +00:00
Vitor Oliveira
269631278e
Merge pull request #154 from msaf9/master
abs min feature implementation
2021-06-02 00:16:22 -07:00
Sahil Afrid Farookhi
29a069a3bf
Merge branch 'master' into master 2021-06-02 12:21:22 +05:30
Sahil Afrid Farookhi
0465601746 abs min feature implementation 2021-06-02 12:19:09 +05:30
github-actions
7e95391397 updating DIRECTORY.md 2021-06-02 06:13:08 +00:00
Vitor Oliveira
9e6a9d21c3
Merge pull request #153 from msaf9/master
abs max feature implementation
2021-06-01 23:12:54 -07:00
Jessica Kwok
60d4a4bcbc Add hash solution 2021-06-01 13:11:08 -07:00
Sahil Afrid Farookhi
62333e03c7 Merge branch 'TheAlgorithms:master' into master 2021-06-01 00:10:05 +05:30
Sahil Afrid Farookhi
a007c2b3e2 abs max feature implementation 2021-05-31 21:56:36 +05:30
Vitor Oliveira
3f8a50a2e7
Merge pull request #150 from msaf9/master 2021-05-24 23:09:03 -07:00
Vitor Oliveira
5756afbd95
Merge pull request #149 from jsca-kwok/jk-uncommon-words
Uncommon words algorithm
2021-05-20 22:55:18 -07:00
Vitor Oliveira
d71a41556f
Merge pull request #152 from TheAlgorithms/count-sorted-vowel-strings-dd-memoization 2021-05-18 17:06:33 -07:00
Vitor Oliveira
42c9d2096f
Merge pull request #151 from TheAlgorithms/count-sorted-vowel-strings
Count sorted vowel strings: math approach
2021-05-18 13:40:15 -07:00
Jessica Kwok
7f6b015a3b
Update data_structures/hash_table/uncommon_words.rb
Co-authored-by: Vitor Oliveira <vbrazo@gmail.com>
2021-05-17 09:32:35 -07:00
Vitor Oliveira
0884b95d4e
add short explanation 2021-05-16 22:12:36 -07:00
github-actions
fba17c66e9 updating DIRECTORY.md 2021-05-17 05:10:48 +00:00
Vitor Oliveira
a0ce59f41f Count sorted vowel strings: dynamic programming 2021-05-16 22:10:31 -07:00
Vitor Oliveira
b9596635ec
fix duplication 2021-05-16 21:52:41 -07:00
github-actions
51eb72bb28 updating DIRECTORY.md 2021-05-17 04:44:11 +00:00