Affirm Interview Question

Solve Shortest uncommon substring problem in preferred language