Checking to see if a list is a palindrome F#(wasstock.com)
submitted by
jdelator(500) 4 years, 2 months ago
You can reverse the list and then match it to the original or try to solve it how humans actually check if a string is a palindrome. That is by simultaneously scanning the string from left to right and right to left char by char checking if they match.
|category: CLR
|Views: 8
tags:
F# Problems another
Everyones tags:
Your Tags: