Site: Leetcode
Contest: 131
Problem Name: Remove Outermost Parentheses
Problem Link: https://leetcode.com/contest/weekly-contest-131/problems/remove-outermost-parentheses/
Problem Type: Strings
Upvote my leetcode post: https://leetcode.com/problems/remove-outermost-parentheses/discuss/269958/python-c-haskell-solutions
Algorithm Explanation Videos:
partial_sum: https://youtu.be/Mf90cdF2N-o
accumulate: https://youtu.be/Mcjrc2uxbKI
Github Links:
C++: https://github.com/codereport/LeetCode/blob/master/131_Problem_1.cpp
Python: https://github.com/codereport/LeetCode/blob/master/131_Problem_1.py
Haskell: https://github.com/codereport/LeetCode/blob/master/131_Problem_1.hs
Follow me on Github: https://github.com/codereport
Follow me on Twitter: https://twitter.com/code_report
Follow me on HackerRank: https://www.hackerrank.com/code_report
Follow me on Codeforces: http://codeforces.com/profile/code_report
Follow me on HackerEarth: https://www.hackerearth.com/@code_report
Follow me on Quora: https://www.quora.com/profile/Conor-Hoekstra
Follow me on LinkedIn: https://www.linkedin.com/company/codereport/
Follow me on Instagram: https://www.instagram.com/code_report/