leetcode note Series max sum series maximum subarray: two pointers algorithm. Can be considered as 1D DP. There is a divide and conquer solution which is divided in three scenarios. maximum subarray II: Divide left and right. 2 X 1D DP maximum subarray III: 2D DP with optimization maximum...
找第二大 # Write your MySQL query statement belowSELECTMAX(Salary)FROMEmployeeWHERESalaryNOTIN(SELECTMAX(Salary)FROMEmployee)