If you want to study CS, don’t spend your money on Duke, Harvard, Yale, or Princeton. Berkeley and UCLA are far better schools for CS than any of these. The only Ivy that you should consider for CS is Cornell.
The places which are peers with Berkeley and UCLA in CS are those on @UCBUSCalum’s list, U Washington, and U Michigan. If you want to apply to CS schools with the acceptance rates of Harvard, Stanford, and MIT are far better at CS than Harvard.