1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-11 13:57:43 +00:00

Merge branch 'master' of github.com:bakpakin/dst

This commit is contained in:
Calvin Rose
2018-05-05 14:42:28 -04:00
3 changed files with 44 additions and 25 deletions

View File

@@ -14,11 +14,11 @@
# Test it
# Maximum path is 3 -> 10 -> 3 -> 9 for a total of 25
(def triangle @[
@[3]
@[7 10]
@[4 3 7]
@[8 9 1 3]
(def triangle '[
[3]
[7 10]
[4 3 7]
[8 9 1 3]
])
(print (maxpath triangle))