I need to write a function, that would throw me most frequent term in list. Eg:
uniq([a, [a,b], [a,b,c]]) -> a
How can it be done recursive way using Erlang?
I need to write a function, that would throw me most frequent term in list. Eg:
uniq([a, [a,b], [a,b,c]]) -> a
How can it be done recursive way using Erlang?
How about this....