We have two days. What would we hate ourselves for missing? We're middle aged but fit enough to hike.
First thing is to sleep inside the park, distances are very long from outside towns, and traffic can be heavy.
The good thing about this park is that the "must be seen" are concentrated in the Yosemite Valley : El Capitan, Half Dome, Yosemite Falls are there and the valley offers great views and trails. Don't miss Glacier Point too
Have a good trip
Mentioned in this answer: