I regret not taking linear algebra (not required by most programs, but very relevant to what I do), computer graphics, and software engineering methodology. If I had taken these classes, I would not have taken other interesting and useful coursework that I would regret not having taken. Hard to measure which path would have minimized my regret. Possibly none, because it may be that degree of regret isn't a function of the path you take.