Meta Interview Question

1) Sort a string according to the order defined by another string. 2) Continuous Subarray Sum