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:
@@ -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))
|
||||
|
Reference in New Issue
Block a user