DugarRishab / Algo.io

From solutions of Leet code in various languages to list of important algorithms for developers, we have everything
7 stars 40 forks source link

Added Q22 #40

Closed umbridge closed 2 years ago

umbridge commented 2 years ago

This is a template on how to fill out a PR properly.

Description

Problem : generate all combinations of well-formed parentheses. Solution : used backtracking Reason of Approach : Since we are asked to calculate all the possible permutations of brackets , hence we have to use backtracking Perks : get a chance to revise backtracking concept.

Related Issue

Acceptance Criteria

Type of Changes

Type
:bug: Bug fix
:sparkles: New feature
:hammer: Refactoring
:100: Add tests
:link: Update dependencies
:scroll: Docs

Testing Steps / QA Criteria

accepted_code