We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents dd377c4 + 7e797a4 commit f1172d5Copy full SHA for f1172d5
Strings/isPalindrome.cpp
@@ -0,0 +1,3 @@
1
+bool isPalindrome(string str){
2
+ return str == string(str.rbegin(),str.rend());
3
+}
0 commit comments