Internet Brands Interview Question

Longest Sum Subsequence. SQL Queries.