编程题 第一题斐波拉契数列 据说是leetcode873原题 class Solution(object): def lenLongestFibSubseq(self, A): """ :type A: List[int] :rtype: int """ s = set(A) n = len(A) res = 0 for i in range(n - 1): for j in range(i 1, n): a, b = A[i], A[j] count ...