Did The School For Good and Evil plagiarize Wicked?

Have you ever noticed that The School For Good and Evil and Wicked are very similar? The events and characters are just so similar, so did…