The performance was part of a Wicked-themed episode, featuring special guest judges Cynthia Erivo and Ariana Grande.