For a given string s, decide if reading its characters from either direction produces the same sequence.
s == nulls == "" (the empty string)s; in some interview settings, s may instead be supplied as a function argument.true or false.0 <= |s| <= 1e5abba -> Output: trueabc -> Output: false"" -> Output: truenull -> Output: false (unless the interviewer specifies otherwise)Input: abba
Output: true