842. Split Array into Fibonacci Sequence

Given a string S of digits, such as S = "123456579", we can split it into a Fibonacci-like sequence [123, 456, 579].python Formally, a Fibonacci-like sequence is a list F of non-negative integers such
相關文章
相關標籤/搜索