Y
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
diegoperini
2798 days ago
That's Fourier transform!
link
DavidSJ
2798 days ago
Funny. :) But a Fourier transform is reversible.
link