Solution | Link | |
---|---|---|
APL | lcis ← ⌈/≢¨((1,2≥/⊢)⊂⊢) lcis ← {1⌈1+⌈/≢¨⊆⍨2</⍵} |
Link |
Kap | Lcis ⇐ 1+⌈/≢¨⊂⍨2</ |
|
J | lcis =. {{ 1 + >./ (#;._1) 0,2</\ y }} |
Link |
BQN | LCIS ← {1+⌈´(⊢×+)``<´˘2↕𝕩} |
Link |
Uiua | Lcis ← +1/↥\(×+,)≡/>◫2 |
|
Q | ➡️➡️ | Link |
Julia | 🔜 | |
MATLAB | 🔜 | |
NumPy | 🔜 | |
R | 🔜 | |
Nial | 🔜 | |
Futhark | 🔜 | |
Ivy | 🔜 | |
SaC | 🔜 | |
ArrayFire | 🔜 | |
MatX | 🔜 |