Funny. At my uni (western europe), foundational courses for CS were about 70% maths + electronics + physics, and 30% about DS+algorithms, OS, etc. Literally, the first year of the CS degree one was asking oneself: did I sign up for a Maths degree?
This was 16 years ago or so. Nowadays, it's kinda the opposite.