I mean - were you working at companies like Amazon before..? That's gonna influence it a lot more heavily than anything else. You can certainly get a job at FAANG without having a Master's degree.
I was not. My coursework did require me to understand things like algorithms and Big-O notation much better than I had as an undergrad, so I think I was better prepared for Amazon's interview. I also think the degree made me more attractive to ThoughtWorks, which was my first job after graduating with my MS, and the experience I got working there helped prepare me for (eventual) success at Amazon. Again, I don't consider any of this causal; it's just how it happened to work out for me.