Who solved that problem?

Who solved that problem?

Explanation

Active Voice: Who

Passive Voice: By whom

This is a sentence of Past Indefinite Tense.

Was and Were are the helping verbs of Past Indefinite Tense.

Active: Who solved that problem?

Passive: By whom was that problem solved?