Letter frequency: Difference between revisions

→‎{{header|BQN}}: Count with Classify to avoid O(n^2) worst case
(add bqn)
(→‎{{header|BQN}}: Count with Classify to avoid O(n^2) worst case)
Line 1,697:
 
=={{header|BQN}}==
similar to APL. <code>"sample.txt"</code> can be substituted with any filename.
<lang BQN>Freq←⍷⊸(⊣≍·+˝=⌜˜)Freq←⍷≍/⁼∘⊐
 
Freq "balloon"
99

edits