STL or hash function?

For competitive programming, we need to learn hash functions implementation or using STL is sufficient?

stl is sufficient for competitive programming
but for interviews and better understanding implementation is also useful