摘要:
题目: Say you have an array for which the ith element is the price of a given stock on day i. Design an algorithm to find the maximum profit. You may co 阅读全文
摘要:
题目描述: There are n bulbs that are initially off. You first turn on all the bulbs. Then, you turn off every second bulb. On the third round, you toggle 阅读全文
摘要:
作业题目: A project is a collection of coordinated work activities conducted within a specific time frame that utilizes resources to achieve specified obj 阅读全文
摘要:
1. Identify the fault. for循环的结束条件错误,少第一个元素,即:x[0]。 应该是:i >= 0。 2. If possible, identify a test case that does not execute the fault. (Reachability) x 阅读全文
摘要:
作业题目: Briefly describe an error from your past projects that you have recently completed or an error from other projects which impress you most. State 阅读全文