View this PageEdit this PageAttachments to this PageHistory of this PageHomeRecent ChangesSearch the SwikiHelp Guide
Hotspots: Admin Pages | Turn-in Site |
Current Links: Cases Final Project Summer 2007

1 Key - (Problem 1-Coding): Mark

Sample solution:
findPalindrome: aColl
^aColl select: [:aString |
	nospace := aString reject: [:ch | ch=Character space].
	nospace = nospace reverse].

2 correct method definition
5 loop through collection
3 get rid of spaces
3 detect correct ones via reverse
3 return collection of...
2 ...phrases WITH spaces
2 good syntax

Points Off:

5 points = well, there's something there, but not's really close

Link to this Page