I can’t resist jumping in when the subject is altitude…

The correct sleeping altitude is the highest altitude at which you don’t get sick. Sleep as high as you can the last 1-3 nights. The last night before your climb is the most important.

Don’t stress over the food. Bring whatever you will actually eat when you are tired and possibly dehydrated. The more you hike, the more you will learn what works for you. Just take it easy on the fat, because fat is hard to digest at altitude.