Ideally, you would take all of the possible DVC courses that cover prerequisites listed in ASSIST.
However, if this is impractical, due to there being too many courses, you may want to prioritize those courses which cover the most requirements at the most UC campuses. Write down the DVC courses you need for CS at each UC, so that you can see which set will give you the most coverage, so that you can take those courses first.
Also, make note of campuses where many courses cannot be covered (e.g. UCI) and be aware that if you transfer there, you may need extra quarters or semesters to “catch up” after transfer.
If you take all of your pre-transfer courses at community colleges, they will be capped at 70 semester units for the purpose of transfer units, and will not cause you to be denied UC admission for having too many units. You will still get subject credit for all courses to fulfill requirements.