I’m a sophomore and I want to go to either Yale or Berkeley. Do I still have a chance of getting in to either school with one or two B+'s on my whole transcript?
You should be fine getting into Berkeley with all As and a B+ or two, as long as you have sufficient test scores and ECs
One B won’t make or break you. Don’t stress it and get involved and make yourself stand out