interview questions

Why use a hashmap in FizzBuzz solutions?

I'm curious about why using a hashmap in FizzBuzz implementations is sometimes considered better or more efficient. I came across an article that shares three solutions, and while…