CME Group Interview Question

Various string manipulation, hardest part again to format inputs, easy algos.