I'd say algebra is required, just because that's what introduces variables and functions. If you get into programming without knowing algebra, you'll learn algebra on Day 1 without realizing that's what you're doing.
You only need to understand processes and assignments, neither of which appear in a typical algebra class. You certainly won’t learn how to pass an algebra class about manipulating equalities by programming.
[1] — The high school kind.