Envestnet Interview Question

algorithms, SQL