Is the alphabet Z pronounced as "zed" or "zee"?

Indian here. Growing up, I have always heard it and learned it as "zed", but then I started using internet and turns out the rest of the world pronounces it "zee"?? Needless to say, I was quite thrown off.

So what's up? Is the "zed" wrong? Or is it another british vs american thing?