Discrete mathematics is more important. Many programs, numbers, arrays, storage and other forms in programming have evolved from the mathematical model in discrete mathematics, and this mathematical method will also be used in model transformation.
So these are all very important.
In fact, the highest realm of computer programming is mathematical problems, not writing programming languages.