摘要: 题目如下: Given two positive integers n and k, the binary string Sn is formed as follows: S1 = "0" Si = Si-1 + "1" + reverse(invert(Si-1)) for i > 1 Where 阅读全文
posted @ 2021-01-31 08:02 seyjs 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given a string s and an array of integers cost where cost[i] is the cost of deleting the ith character in s. Return the minimum cost of deletion 阅读全文
posted @ 2021-01-31 07:59 seyjs 阅读(281) 评论(0) 推荐(0) 编辑