I've met some people with physics and accounting degrees who took boot camps and had success, but the people I've seen succeed were already problem solvers and math-aware. They just needed to know the language and routines.
On the other hand, I dropped out of school and have been programming for a majority of my life. I was never accused of being incompetent or underperforming, but there was a point in my career where I was not going to progress without deeper math skills. That said, it only takes a couple years to learn.