Discuss the trade-off between the two different approaches. If so, present a deterministic polynomial time algorithm. If not, show that it is NP -hard. Also, present a greedy algorithm to solve this problem. Design and analyze a divide and conquer algorithm for finding the minimum and maximum of n integers using at most comparisons.
Arbitrage is the use of discrepancies in currency-exchange rates to make a profit.
Give a formal proof that your answer above is correct. Discuss in detail the advantages and disadvantages of allowing nested subprograms, from the perspective of the language user, and the language implementor. Compare and contrast the languages Scheme and C. Discuss the differences between the languages from the standpoints of efficiency, ease of implementation, sophistication, ability to solve problems, the role of functions in each language, and the way the languages themselves are implemented. Consider the issue of a transportable interpreted language that is designed to work on a variety of computers via a standard virtual machine. It is important to allow users to make calls to platform-specific, custom functions.