Discover
Questions library
Collections library
Find online teacher
login
Discover
questions library
Find online teacher
login
Popular searches:
if-else
class-diagram
flowchart
Polymorphism
Home
Questions
Questions
Study lists
mahmoud Questions
3502 Questions
Given a string S consisting only of ( and ) parentheses, we add the minimum number of parentheses ( or ) in any positions so that the resulting parentheses string is valid
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
488
Find the largest rectangular area possible in a given histogram where the largest rectangle can be made of a number of contiguous bars. For simplicity, assume that all bars have the same width and the width is 1 unit
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
487
Given a postfix expression, the task is to evaluate the expression and print the final value. Operators will only include the basic arithmetic operators like *, / , +, and -
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
677
Given a string of balanced expression, find if it contains a redundant parenthesis or not. A set of parentheses is redundant if the same sub-expression is surrounded by unnecessary or multiple brackets. Print \"Yes\" if redundant else \"No\"
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
474
The stock span problem is a financial problem where we have a series of n daily price quotes for a stock and we need to calculate the span of stock\'s price for all n days
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
477
Given an expression exp of length n consisting of some brackets. The task is to print the bracket numbers when the expression is being parsed
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
546
Given a pattern containing only (I)s and (D)s. (I) stands for increasing and (D) for decreasing. Devise an algorithm to print the minimum number following that pattern. Digits are from 1-9 and digits can not repeat
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
466
Find number of nodes in a complete Binary Tree
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
435
Given two n-ary trees, the task is to check if they are mirrors of each other or not
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
345
Given an array pre[] of N nodes representing preorder traversal of BST. The task is to print its postorder traversal
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
393
Given a binary Tree find the maximum path sum. The path may start and end at any node in the tree
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
403
Write a program to print Level Order Traversal in spiral form of a binary tree
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
360
Find the k-th smallest element in a given binary search tree (BST)
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
421
Total:
3502
Previous
256
257
258
259
260
Next
Go