Common LISP: A Gentle Introduction to Symbolic Computation (Dover Books on Engineering) by David S. Touretzky
Author:David S. Touretzky [Touretzky, David S.]
Language: eng
Format: epub
Publisher: Dover Publications
Published: 2014-02-19T23:00:00+00:00
EXERCISES
8.18. Use single-test tail recursion to write LAST-ELEMENT, a function that returns the last element of a list. LAST-ELEMENT should recursively travel down the list until it reaches the last cons cell (a cell whose cdr is an atom); then it should return the car of this cell.
Figure 8-2 Template for single-test tail recursion.
8.19. Suppose we decided to convert ANYODDP to single-test tail recursion by simply eliminating the COND clause with the NULL test. For which inputs would it still work correctly? What would happen in those cases where it failed to work correctly?
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Automotive | Engineering |
Transportation |
Whiskies Galore by Ian Buxton(41488)
Introduction to Aircraft Design (Cambridge Aerospace Series) by John P. Fielding(32852)
Small Unmanned Fixed-wing Aircraft Design by Andrew J. Keane Andras Sobester James P. Scanlan & András Sóbester & James P. Scanlan(32533)
Craft Beer for the Homebrewer by Michael Agnew(17902)
Turbulence by E. J. Noyes(7659)
The Complete Stick Figure Physics Tutorials by Allen Sarah(7096)
Kaplan MCAT General Chemistry Review by Kaplan(6545)
The Thirst by Nesbo Jo(6405)
Bad Blood by John Carreyrou(6245)
Modelling of Convective Heat and Mass Transfer in Rotating Flows by Igor V. Shevchuk(6200)
Learning SQL by Alan Beaulieu(5994)
Weapons of Math Destruction by Cathy O'Neil(5778)
Man-made Catastrophes and Risk Information Concealment by Dmitry Chernov & Didier Sornette(5585)
Digital Minimalism by Cal Newport;(5319)
Life 3.0: Being Human in the Age of Artificial Intelligence by Tegmark Max(5143)
iGen by Jean M. Twenge(5125)
Secrets of Antigravity Propulsion: Tesla, UFOs, and Classified Aerospace Technology by Ph.D. Paul A. Laviolette(4858)
Design of Trajectory Optimization Approach for Space Maneuver Vehicle Skip Entry Problems by Runqi Chai & Al Savvaris & Antonios Tsourdos & Senchun Chai(4805)
Electronic Devices & Circuits by Jacob Millman & Christos C. Halkias(4698)
