aboutsummaryrefslogtreecommitdiff
path: root/challenge-263/asherbhs/apl/ch-1.apl
blob: 597381124d73eff25bf4b39127acc05dc7f0b82b (plain)
1
2
3
4
5
6
7
⎕IO0

TargetIndex=⊢⍤/

1 5 3 2 4 2 TargetIndex 2
1 2 4 3 5   TargetIndex 6
5 3 2 4 2 1 TargetIndex 4