Xero Interview Question

Write a function that takes in 2 string. Return true or false if a condition is met.

Interview Answer

Anonymous

Aug 4, 2025

I wrote this answer in typescript. I used array functions like "split", "replace", "splice", "slice" and "shift".