Check whether a given mathematical expression is valid. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 3

 Check whether a given mathematical expression is valid.

 Check whether a given mathematical expression is valid. Eg.) Input : (a+b)(a*b) Output : Valid Input : (ab)(ab+) Output : Invalid Input : ((a+b) Output : Invalid

4th Aug 2018, 10:15 AM
Raja N
Raja N - avatar
1 Answer
4th Aug 2018, 10:38 AM
Steppenwolf
Steppenwolf - avatar