Commit graph

116 commits

Author SHA1 Message Date
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
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
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
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
Vitor Oliveira
e21120857d Clean up 2021-02-06 23:05:54 -08:00
Vitor Oliveira
a285989e1c Rename var 2020-12-19 20:23:48 -08:00
Vitor Oliveira
dcfdf73a7f Separators 2020-12-19 20:20:45 -08:00
Vitor Oliveira
ecde337d9b Add better solution - O(n) time and space 2020-12-19 20:18:22 -08:00
Vitor Oliveira
d24e95ae02 Add brute force solution 2020-12-19 20:18:06 -08:00