Applied mathematics gives you a deeper understanding of modeling and mathematical thinking, both of them pretty important for a Quant. But you'll also learn a lot of unrelated material as well. If you want to be a Quant, It'd be better to study applied mathematics. However, it can be any computer science too.