Back when my son started at Carnegie Mellon the CS department gave them a placement test. They said they didn’t care what grade you got on your AP, the question was what you actually remembered in August. My son had had a Linear Algebra course taught in the high school. My recollection is he took Calc 3 and some sort of Discrete Math, I can’t remember in exactly what order.