CSCI 255 Fall 2023Introduction to Algorithms and Discrete Structures Archived Class

Homework 3

• For full credit, provide context for each problem, show all calculations, and justify all answers by providing enough comments to explain your reasoning.
• Homework assignments must be very neatly written or typeset (e.g. using Word or OpenOffice).
• You can get up to 50% credit on a problem if you get significant outside assistance. Thus, if you are totally stuck on a problem it might be worth getting help. However, you must indicate any assistance/collaboration (See the Homework Assistance section on the Policies page). Failure to do so could result in a failing grade for the course! Note that getting help from the Help Center or me does not count as significant outside assistance, but talking with your classmates or searching on the Internet does!
• If a problem asks for an algorithm, you should give the most efficient algorithm you can find to ensure full credit. You should also specify the complexity of the algorithm with justification, whether or not the problem asks for it.

Details

1. (15) AIDMA Problem 4.5. Give a clear explanation of your answers using logic.
2. (5) AIDMA Problem 4.6
3. (6) AIDMA Problem 4.8 b, c, d.
4. (6) AIDMA Problem 4.9 d, e, f.
5. (4) AIDMA Problem 4.17
6. (4) If the function in Problem 4.17 was f(x)=x4+1, would you be able to find an inverse? Explain why or why not.