Find the longest sequence of multiple Parentheses

Example 1

s = ")(())(()"
4

--

--

--

Lead, Product Development, Embedded System Specialist/Mad scientist

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Agile Architect Part 5 — Final Thoughts

Rethinking MVC

What are the best practices of DevSecOps?

King Master Apk for All APKs

https://kingmasterapk.com/

The VLOOKUP Function: Your 2 Minute Guide to Microsoft Excel’s “Lookup” Function

Write your first Go package for FPGAs

Android 10 comes with Dark Mode — and best practices in apps development

AWS Elastic Beanstalk Migration Between Accounts

Elastic Beanstalk Application Dashboard.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Iqram Ali

Iqram Ali

Lead, Product Development, Embedded System Specialist/Mad scientist

More from Medium

Huffman coding | Greedy Algorithm

Huffman coding and huffmandict.m in MATLAB

Longest Binary Subsequence Less Than or Equal to K

Programming Diaries — Day 2 — Variables and Constants