题目 Say you have an array for which the ith element is the price of a given stock on day...
IP属地:江苏
题目 Say you have an array for which the ith element is the price of a given stock on day...
删数问题 给定n位正整数a,去掉其中任意k个数字后,剩下的数字按原次序排列组成一个新的正整数。对于给定的n和k,设计一个算法,找出剩下数字组成的新数最少的删数方案。输入示例:...