I will mark as a brainliest if you can answer these 2 questions plz and thank you

How did the NAACP used lawsuits and the Supreme Court as it’s main strategy for defeating segregation?

And what was the pros and cons of this strategy?