aboutsummaryrefslogtreecommitdiff
path: root/challenge-074/richard-park/apl/FNRCharacter.aplf
blob: 1ed3fe014e4d0f585933c9170b7d9eabae5faf21 (plain)
1
2
3
4
5
6
7
8
9
 FNRCharacter{
     FNR{
         fnr⊃⌽' '~,((⌿⍨)(1=(≢⊢)))   ⍝ Last non-repeating element
         ' 'fnr:'#'                     ⍝ No unique elements
         fnr
     }
     FNR¨()¨⍳≢  ⍝ "First" Non-Repeating characters
                    ⍝ In subsets of ⍵ of length 1 to ≢⍵
 }