diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index 691a8f6..0000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "C_Cpp.errorSquiggles": "Disabled" -} \ No newline at end of file diff --git a/leetcode/Valid Parenthesis.cpp b/leetcode/Valid Parenthesis.cpp new file mode 100644 index 0000000..5626edb --- /dev/null +++ b/leetcode/Valid Parenthesis.cpp @@ -0,0 +1,50 @@ +class Solution { +public: + bool isValid(string expression) { + stacks; + for(int i=0;i