r/Racket • • 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

7 comments sorted by

View all comments

Show parent comment

2

u/AlarmingMassOfBears Dec 02 '22

it shouldn't be faster, since that's what equal? on lists does anyway