Closed srushtikage closed 11 months ago
I have written the code using Hashmap in C++. I have counted the frequency of each character in both the strings then have compared then. Time Complexity of the code is : O(n) Space Complexity of the code is : O(n)
111
I have written the code using Hashmap in C++. I have counted the frequency of each character in both the strings then have compared then. Time Complexity of the code is : O(n) Space Complexity of the code is : O(n)