Discrete mathematics and linear algebra can be regarded as the basic courses of programming, because in these two courses, you will learn some structures and algorithms used in programming, such as trees and graphs in discrete mathematics and linear structures, determinants and matrices in linear algebra. So learning these two courses well is good for the following programming courses!
Data structure is the algorithm core of C program, which mainly analyzes data types and operations on data types. Learning data structure well is the only process to learn programming well!
I wish you an early success! !