Very important:
I just beat Lin 1. Alolan Sandslash once again came in clutch. Lin 2 was more difficult, as I had to use my Rhyperior as a throwaway Pokemon. Lin 3 was easy. Swords dance 3 times on my Alolan Sandslash, then Iron Head while it was a Fairy type.