Well there you go... Do the Yosemite part AFTER Whitney!

There will be walk-in permits available, I am sure. Or you can call in advance (starting Wednesday, April 21) to request a reservation for one of the available days.