aboutsummaryrefslogtreecommitdiff
path: root/challenge-055/aecepoglu/bqn/ch-2.bqn
blob: 13192e93a62143e821fe6c44c5164c7587a827b8 (plain)
1
2
3
4
5
# 2
Perm{𝕊0:000; # permutation table with 𝕩 columns
      >⟨⟨0⟩⟩{n𝕊a:(1+a){𝕨(𝕩/)n0}<˘¬=⌜˜n}´1(⊣↓+)𝕩}
IsWave´((≤⊏˜2|↕){𝕎´𝕩}¨) 2(<˘)
IsWave˘/⊏1234˘Perm 4