摘要: 1137. N-th Tribonacci Number 1137. N-th Tribonacci Number The Tribonacci sequence Tn is defined as follows: T0 = 0, T1 = 1, T2 = 1, and Tn+3 = Tn + Tn 阅读全文
posted @ 2019-07-28 12:55 Asimple 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 1128. Number of Equivalent Domino Pairs 1128. Number of Equivalent Domino Pairs Given a list of dominoes, dominoes[i] = [a, b] is equivalent to domino 阅读全文
posted @ 2019-07-28 12:49 Asimple 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 1108. Defanging an IP Address 1108. Defanging an IP Address Given a valid (IPv4) IP address, return a defanged version of that IP address. A defanged  阅读全文
posted @ 2019-07-28 12:40 Asimple 阅读(222) 评论(0) 推荐(0) 编辑