What should be the angle between the force and the displacement for maximum and minimum work?

For maximum work $\teta $ = 0° and minimum work $\teta $ = 90°.