flâneur — a map of the web's best reading

CSC 151 - Coding Challenge 7

eikmeier.sites.grinnell.edu · 939 words · saved by 1 readers

We are providing you with starter code, CC7-template.scm. You should download this file and upload the given code to a new .scm file named complex-recursion.scm. You are required to document every procedure that you write using the documentation style of our course. Tests are optional, but likely helpful in determining if your code is working as desired. At the top of your file, make sure to include your name, and any acknowledgements according to our collaboration policy. Now is a great time to review those collaboration policies. A string is called a palindrome if reversing the characters of the string results in the same string. A few examples of palindromes are "radar", "civic", and "aabaa". Document and write a procedure (palindrome? str) that checks to see if the string str is a palindrome. You may not use any string comparison procedures for this problem (e.g. string=?, string<=?, etc.) nor may you build other strings along the way. You must leave the string as a string. You may

CSC 151 - Coding Challenge 7 Coding Challenge 7: More Complex Recursion Assigned Friday, 31 October 2025 Due Thursday, 6 November 2025 --> Summary In this coding challenge we solve problems using recursion, especially using numeric recursion, tail recursion, and higher-order procedures. Collaboration You must work individually on this assignment. You may only consult members of the course staff for help. Instructions We are providing you with starter code, CC7-template.scm . You should download this file and upload the given code to a new . scm file named complex-recursion.scm . You are requir

Explore this link on the map →

saved by

related reading