DS-Algo-Point icon indicating copy to clipboard operation
DS-Algo-Point copied to clipboard

Duplicate brackets check

Open KevalPrajapati opened this issue 2 years ago • 3 comments

🚀 Feature

  1. You are given a string exp representing an expression.
  2. Assume that the expression is balanced i.e. the opening and closing brackets match with each other.
  3. But, some of the pair of brackets maybe extra/needless.
  4. You are required to print true if you detect extra brackets and false otherwise.

e.g.' ((a + b) + (c + d)) -> false (a + b) + ((c + d)) -> true

Have you read the Contribution Guidelines?

yes

Assignees - @KevalPrajapati - Java

KevalPrajapati avatar Oct 30 '21 17:10 KevalPrajapati

I can do with java. please assign me.

KevalPrajapati avatar Oct 30 '21 17:10 KevalPrajapati

@KevalPrajapati Please assign it to me I can do it in java.

rakshitgupta23 avatar Oct 08 '22 07:10 rakshitgupta23

@KevalPrajapati Assigned for Java

sukritishah15 avatar Oct 08 '22 12:10 sukritishah15