Finds frequency table of the unique elements present in the list. In the table the elements come in "First come first serve" manner, namingly the order they appear in the list.
This lbrary can work with any types that implement Clone
.
So it is expected to work with Strings, slices, integers etc.
O(N)
O(N)