TikTok’s founder has a formula for everything. Can it crack the Supreme Court? SINGAPORE—Zhang Yiming chose a college by ...