An Efficient Algorithm for Nonlinear Minimax Problems