This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: Introduction to Algorithms April 23, 2004 Massachusetts Institute of Technology 6.046J/18.410J Professors Erik Demaine and Shafi Goldwasser Handout 22 Problem Set 7 This problem set is due in recitation on Friday, May 7 . Reading: Chapter 22, 24, 25.1-25.2, Chapters 34, 35 There are five problems. Each problem is to be done on a separate sheet (or sheets) of paper. Mark the top of each sheet with your name, the course number, the problem number, your recitation section, the date, and the names of any students with whom you collaborated. As on previous assignments, “give an algorithm” entails providing a description, proof, and runtime analysis. Problem 7-1. Arbitrage Arbitrage is the use of discrepancies in currency exchange rates to transform one unit of a currency into more than one unit of the same currency. Suppose, 1 U.S. dollar bought . 82 Euro, 1 Euro bought 129 . 7 Japanese Yen, 1 Japanese Yen bought 12 Turkish Lira, and one Turkish Lira bought . 0008 U.S. dollars....
View Full Document
- Spring '04
- Algorithms, Computational complexity theory, United States dollar, time algorithm