HAOYU LEI·Feb 21, 2020How to align accounting signals with market return data? An example with SQL codeTakeaway: if your table has millions of records, by all means avoid nested SQL queries; use group by + inner join instead.
HAOYU LEI·Dec 14, 2018Naïve Thoughts when Reviewing EconometricsMath and Stats are techniques. Techniques are important, but it’s even more important to know how to interpret the results after applying…
HAOYU LEI·Sep 10, 2018Leetcode 322. Coin ChangeYou are given coins of different denominations and a total amount of money amount. Write a function to compute the fewest number of coins…
HAOYU LEI·Sep 10, 2018Leetcode 152. Maximum Product SubarrayGiven an integer array nums, find the contiguous subarray within an array (containing at least one number) which has the largest product.
HAOYU LEI·Sep 2, 2018Leetcode 206. Reverse A Linked ListIt is such a standard and classic problem that ignoring it would be too impolitic. I have a deep impression about it being the last…
HAOYU LEI·Aug 18, 2018Leetcode 53. Maximum SubarrayThis is a classic DP problem and is really good. Basically we follow a standard approach:
HAOYU LEI·Jul 29, 2018Leetcode 746. Min Cost Climbing StairsDescriptionA response icon1A response icon1