[solved] – Question 76523
Write a function num_uniques that takes in a string and returns the number of unique characters in the string.
Hint: You can use a std::map to maintain a count of the characters.
#include <string>
using namespace std;
int num_uniques(string str) {
//code..
}
Expert Answer
OR

