Hacker News new | ask | show | jobs
by artemisyna 2798 days ago
Or, for better time complexity (with a bit of extra space) making a map of char -> frequency and comparing the results.
1 comments

That's Fourier transform!
Funny. :) But a Fourier transform is reversible.