U E D R , A S I H C RSS

Basic알고리즘/팰린드롬/임인택

코드

~cpp
module Palindrome
	where

palindrome string = (string == (reverse string))

사용

~cpp
Palindrome> palindrome "hahaha"
False
Palindrome> palindrome "eye"
True
Palindrome>
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:22:34
Processing time 0.0169 sec