algae
Code
Branches
Tags
Commits
master
Commits
Top
6ed06cc
use a stack to decompress the string.
mokha
2018-07-20
22:41:41
a8bf1f1
add tmp dir.
mo
2018-07-15
23:36:12
d47cebc
capture prefix.
mokha
2017-09-18
19:49:14
fd7cbd2
complete first 2 tests.
mokha
2017-09-18
19:38:10
df1a4a5
add decode_string problem.
mokha
2017-09-18
19:11:48
50f7d9b
extract method.
mokha
2017-09-18
16:24:55
0aafd6f
solve simplify path.
mokha
2017-09-18
16:21:05
edc952f
add simplify path problem.
mokha
2017-09-18
16:15:32
7fbc440
delete from bst without recursive delete
mokha
2017-09-13
21:35:07
c658e88
study bcc32 solution.
mo
2017-08-21
04:37:51
8d40d24
kth largest number.
mo
2017-08-21
04:28:03
84638b0
consider using min of right tree instead of max from left subtree.
mo
2017-08-21
04:18:50
549116e
add spec 12.
mo
2017-08-21
03:53:50
a4b9426
add spec 11.
mo
2017-08-21
03:53:07
f2665c5
null -> nil
mo
2017-08-21
03:52:27
f6ecb43
add spec 10.
mo
2017-08-21
03:52:09
2e0ae8c
add spec 9.
mo
2017-08-21
03:49:06
a078138
add spec 8.
mo
2017-08-21
03:42:30
5c516d9
add surrounding hash.
mo
2017-08-21
03:26:45
a317ebf
add spec 8.
mo
2017-08-21
03:19:34
3972faf
fix broken spec.
mo
2017-08-21
03:16:51
196364b
add test to produce a failure.
mo
2017-08-16
03:14:06
dd4975c
min -> max
mo
2017-08-16
02:35:34
f41c59c
solve base tests.
mo
2017-08-16
02:23:19
6bf01fa
first cut.
mo
2017-08-15
20:26:59
8a869b7
add delete from BST.
mo
2017-08-15
19:58:45
844b2e9
remove unneccessary variable.
mo
2017-08-12
20:04:14
056fd97
increase performance.
mo
2017-08-12
19:46:52
6d056cb
sort the parts.
mo
2017-08-12
19:15:22
94ed4bc
optimize search.
mo
2017-08-12
18:32:15
da0fe4a
try sexp (FAIL)
mo
2017-08-12
18:08:11
7c8694b
brute force solution.
mo
2017-08-12
17:39:09
636fd84
sort parts.
mo
2017-08-11
16:33:48
e96dd6f
first attempt regex matching.
mo
2017-08-09
22:22:59
8a9b926
add find substrings problem.
mo
2017-08-09
22:06:17
45eeaab
rename index to pivot.
mo
2017-08-09
21:55:49
b1d6915
remove extra params and global var.
mo
2017-08-09
21:52:15
46bf15a
find_index -> index
mo
2017-08-09
21:47:11
10b104d
remove search method.
mo
2017-08-09
21:41:56
1a28d18
collapse method.
mo
2017-08-09
21:40:53
7b87acb
remove usage of Tree class and use hash.
mo
2017-08-09
21:30:18
2528c1d
reduce params to search method.
mo
2017-08-09
21:28:45
efb899e
shrink the search.
mo
2017-08-09
21:23:00
c72bb09
solve rebuilding tree.
mo
2017-08-09
21:04:56
a3746bc
add restore_binary_tree
mo
2017-08-09
04:01:11
e81f40e
sold is subtree.
mo
2017-08-09
02:59:26
3c71335
pass practice tests.
mo
2017-08-09
00:08:51
ffba056
add specs.
mo
2017-08-08
23:53:04
88d1289
add is_subtree problem.
mo
2017-08-08
23:47:54
0b9e34f
remove need to extra array allocation.
mo
2017-08-08
21:23:20
457144f
use ruby Enumerator. time O(k), space O(1)
mo
2017-08-08
21:15:04
9b30766
remove extra instance var.
mo
2017-08-08
20:48:35
4aca090
O(1) space solution.
mo
2017-08-08
20:35:40
10ad8c6
remove unneccesary check for leaf.
mo
2017-08-08
20:13:32
1aee88c
solve using recursion.
mo
2017-08-08
20:11:14
98b83a0
add kthlargest problem.
mo
2017-08-08
20:03:30
2bd712b
implement find profession.
mo
2017-08-06
16:01:01
a8d7c16
add alternate solution.
mo
2017-08-06
14:51:53
c24f9b9
solve tree symetry.
mo
2017-08-05
17:31:40
aae4a0f
print if there is a tree.
mo
2017-08-05
16:45:17
bfe18a5
add level to each node.
mo
2017-08-05
16:43:35
a95f896
add method to print tree.
mo
2017-08-05
16:37:17
5f3b059
convert strings to symbols.
mo
2017-08-03
15:13:19
cca46f1
add massive spec.
mo
2017-08-02
22:50:44
3a703c2
add some failing specs.
mo
2017-08-02
22:42:11
9320f5b
add test.
mo
2017-08-02
18:26:52
41476dd
add test.
mo
2017-08-02
18:21:42
232fd2e
add test.
mo
2017-08-02
18:20:20
78aad62
add tests.
mo
2017-08-02
18:19:07
4bfe7db
convert strings to symbols.
mo
2017-08-02
16:47:33
5000b6a
add another spec.
mo
2017-08-02
16:46:05
2f64c27
add another spec.
mo
2017-08-02
16:34:57
676f1a3
pass all the tests.
mo
2017-08-02
16:25:20
8fdb3f4
first cut at tree symmetry.
mo
2017-08-02
02:05:23
3045d5a
add bcc32 solution.
mo
2017-07-31
23:51:25
7e891f1
move problem to binary trees dir.
mo
2017-07-31
23:49:39
a0bbacf
solve tree question.
mo
2017-07-31
23:49:08
4c581c1
first attempt passed most tests so i added a new one to make it fail.
mo
2017-07-31
23:28:08
1ed7fc7
add tree problem.
mo
2017-07-31
22:53:49
1d7102b
solve with hash table.
mo
2017-07-26
02:09:05
cc1c83e
use dp solution.
mo
2017-07-26
01:59:51
76b665f
add possible sums problem.
mo
2017-07-26
01:36:01
d3d6333
add a faster solution.
mo
2017-07-20
16:10:06
83e4b30
add spec to check if less than k.
mo
2017-07-20
15:56:46
dab3308
solve contains close numbers.
mo
2017-07-20
15:54:09
4be73ce
add tests for contains close numbers.
mo
2017-07-20
15:32:33
1b046ad
add contains_close_numbers.
mo
2017-07-19
00:07:42
b7d6c0c
long name to letter. (i know, i know)
mo
2017-07-19
00:04:46
3faa1b9
shrink lines.
mo
2017-07-19
00:03:54
5ae45e2
add solution for following patterns?
mo
2017-07-19
00:02:01
ef80d2a
add are_following_patterns.
mo
2017-07-16
17:35:02
fdea80c
fix runtime comments.
mo
2017-07-16
17:34:41
6786193
group dishes.
mo
2017-07-14
20:15:03
b2d23cd
add grouping dishes problem.
mo
2017-07-14
00:07:00
260d41a
solve re-arrange last n.
mo
2017-07-13
23:59:33
21c6454
tidy up.
mo
2017-07-13
23:44:23
a3d1341
solve reverse k nodes.
mo
2017-07-13
23:36:25
d84ca23
add reverse nodes in k groups.
mo
2017-07-13
04:58:20
e9f1249
remove comment.
mo
2017-07-13
04:50:21
bc5be84
merge linked lists.
mo
2017-07-13
04:28:22
« First
← Newer
Page 1 of 3
Older →
Last »