Question 1

Implement a function that returns whether a string made of different bracket characters is well formed or not.

For example,

“{({})[]}” is a well formed bracket string

“{[](}” is not a well formed bracket string

Needless to say any single brackets are automatically counted as not well formed.

[advanced_iframe securitykey=”undefined” src=”” width=”100%” height=”600″]

KodNest Training New Batch is starting on 19th October 2020. Attend one week free demo classes.Register Now

New Report