Need clarification as confusion between whom or who [duplicate]

Solution 1:

Either is correct.

Historically, whom would have been used here because it is being used as the object of the preposition with. Very careful speakers still use whom today.

But in contemporary usage, who is widely used for both the object and subject case.