Breakdown of Перед работой мне нечего было есть, кроме банана и груши.
Questions & Answers about Перед работой мне нечего было есть, кроме банана и груши.
Because the preposition перед normally takes the instrumental case when it means before or in front of.
- работа = work
- перед работой = before work
So this is not the accusative or genitive form; it is the singular instrumental of работа.
Мне is the dative form of я, and Russian often uses the dative in impersonal constructions like this.
Literally, the structure is something like:
- мне нечего было есть
- to me there was nothing to eat
This is a very common Russian way to express I had nothing to eat.