买卖股票的最佳时机 II
问题描述
给定一个数组 prices,其中 prices[i] 表示某只股票第 i 天的价格。你可以多次交易(买入和卖出股票),但在任何时候最多只能持有一股股票。你也可以在同一天买入并卖出股票。
目标:计…
一、异常 npm ERR! The operation was rejected by your operating system. npm ERR! Its possible that the file was already in use (by a text editor or antivirus), npm ERR! or that you lack permissions to access it. npm ERR! npm ERR! If you believe this might b…