index
:
github/perlweeklychallenge-club.git
master
Unnamed repository; edit this file 'description' to name the repository.
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
challenge-198
/
conor-hoekstra
/
ch-01.apl
blob: df45064f5f770700e2036b1750e4c929f8f08e24 (
plain
)
1
2
3
4
MaxGap
←
{
+
/
(
⌈
/
=⊢
)
2
-
/
(
⊂
⍤
⍒⌷⊢
)
⍵
}
⍝ Tests
MaxGap
2
5
8
1
⍝ 2