Deutsche Bank Interview Question

Two sum(array question), binary search, sql queries(second max salary, simple joins)