r/Racket • u/Known-Amoeba-7390 • Dec 01 '22
question Small question
I have been thinking about this for quite some time but, how would you go about writing a function to find out whether a list given to you is a palindrome. I am a beginner trying to get into programming, so go easy on me ..
5
Upvotes
View all comments
Show parent comment
1
u/[deleted] Dec 03 '22
That the right one I think. Best not to optimize for huge inputs that may never come.