हिंदी

The data structure required to check whether an expression contains balanced parenthesis is ______.

Advertisements
Advertisements

प्रश्न

The data structure required to check whether an expression contains balanced parenthesis is ______.

विकल्प

  • Stack

  • Queue

  • Array

  • free

MCQ
रिक्त स्थान भरें
Advertisements

उत्तर

The data structure required to check whether an expression contains balanced parenthesis is Stack.

Explanation:

This is a straightforward data structure with elements that may be inserted and removed in a specific order. It is an abstract data type and data structure that can be used to check parenthesis.

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×