Bloomberg Interview Question

1st round: is anagram, remove linked list element 2nd round: decode string, connect 4 3rd round: remove invalid parentheses