diff --git a/cpp/344-Reverse String.cpp b/cpp/344-Reverse String.cpp new file mode 100644 index 000000000..826bcd418 --- /dev/null +++ b/cpp/344-Reverse String.cpp @@ -0,0 +1,11 @@ +class Solution { +public: + void reverseString(vector& s) { + int f=0; + int l=s.size()-1; + while(f