Is AP Physics C helpful for CS major?

In many ways it does make sense to study them together. Continuous math often has its parallels in discrete math, and vice versa.