I have been assigned to return the index of the bucket containing a specific key in an std::unordered_map. Basically exactly what the bucket(key) function returns. I have tr