diff --git a/Count frequencies in unordered Map.cpp b/Count frequencies in unordered Map.cpp new file mode 100644 index 0000000..83e98f4 --- /dev/null +++ b/Count frequencies in unordered Map.cpp @@ -0,0 +1,24 @@ +#include +using namespace std; +void count_freq(int arr[],int n) +{ + unordered_map m; + for(int i=0;i