Statistics Help
Question: hi,
I need help with the following question:
A “magic list” is a list of non-empty strings where for each string in the “magic list” (except the
last one)
its last character (from the right) equals the first character (from the left) of the next string
in the “magic list”.
By definition, a list of length ≤1 is a “magic list”
Write a Scheme function is-magic-list? That consumes a list of strings, slst, and produces
true if slst is a “magic list”, and false otherwise. For example:
(is-magic-list? (cons Edit
TutorTeddy.com & Boston Predictive Analytics
[ Email your Statistics or Math problems to help@teddycan.com (camera phone photos are OK) ]
Boston Office (Near MIT/Kendall 'T'):
Cambridge Innovation Center,
One Broadway, 14th Floor,
Cambridge, MA 02142,
Phone: 617-395-8864
Dallas Office (Near Galleria):
15950 Dallas Parkway,
Suite 400,
Dallas, TX 75248,
Phone: 866-930-6363