【python3】leetcode 594. Longest Harmonious Subsequence(easy)
594.LongestHarmoniousSubsequence(easy)Wedefineaharmoniousarrayisanarraywherethedifferencebetweenitsmaximumvalueanditsminimumvalueisexactly1.Now,givenanintegerarray,youneedtofindthelengthofitslongestha