Courses
Tutorials
Interview Prep
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
Similar Topics
Web Technologies
32.1K+ articles
DSA
20.4K+ articles
Misc
7.7K+ articles
Mathematical
5.1K+ articles
Arrays
4.2K+ articles
Strings
2.1K+ articles
Amazon
1.9K+ articles
Recursion
591+ articles
Stack
261+ articles
Paytm
209+ articles
expression-evaluation
25 posts
Recent Articles
Infix, Postfix and Prefix Expressions/Notations
Last Updated: 27 August 2025
Mathematical formulas often involve complex expressions that require a clear understanding of the order of operations. To represent these expressions, we use different not...
read more
DSA
expression-evaluation
How Do Sequence Points Relate to Undefined Behaviour in C++?
Last Updated: 04 April 2024
In C++, sequence points are used to determine the order of evaluation of expressions to avoid undefined behavior in our programs. In this article, we will learn how do seq...
read more
C++ Programs
C++
Picked
expression-evaluation
CPP Examples
Check if K can be obtained by performing arithmetic operations on any permutation of an Array
Last Updated: 15 July 2025
Given an array arr[] of N integers and an integer K, the task is to check if the expression formed for any permutation of the given array after assigning arithmetic operat...
read more
Backtracking
Mathematical
Recursion
DSA
Arrays
Permutation and Combination
expression-evaluation
Find the minimum value of X for an expression
Last Updated: 10 March 2022
Given an array arr[]. The task is t find the value of X such that the result of the expression (A[1] - X)^2 + (A[2] - X)^2 + (A[3] - X)^2 + ... (A[n-1] - X)^2 + (A[n] – X)...
read more
Greedy
Mathematical
DSA
Arrays
expression-evaluation
What is an Expression and What are the types of Expressions?
Last Updated: 02 August 2019
Expression: An expression is a combination of operators, constants and variables. An expression may consist of one or more operands, and zero or more operators to produce ...
read more
DSA
expression-evaluation
Count the number of currency notes needed
Last Updated: 09 June 2022
You have an unlimited amount of banknotes worthAand Bdollars (A not equals to B). You want to pay a total ofS dollars using exactlyNnotes. The task is to find the number o...
read more
DSA
expression-evaluation
Building Expression tree from Prefix Expression
Last Updated: 11 July 2025
Given a character array a[] represents a prefix expression. The task is to build an Expression Tree for the expression and then print the infix and postfix expression of t...
read more
DSA
expression-evaluation
Arithmetic Expression Evaluation
Last Updated: 19 June 2023
The stack organization is very effective in evaluating arithmetic expressions. Expressions are usually represented in what is known as Infix notation, in which each operat...
read more
Misc
Stack
DSA
Inorder Traversal
Preorder Traversal
PostOrder Traversal
Data Structures-Stack
expression-evaluation
Parentheses-Problems
Infix to Prefix conversion using two stacks
Last Updated: 11 July 2025
Given an infix expression, the task is to convert it into a prefix expression using two stacks.An infix expression is one in which the operator appears between operands. T...
read more
Stack
DSA
expression-evaluation
Check for balanced parenthesis without using stack
Last Updated: 11 July 2025
Given an expression string exp, write a program to examine whether the pairs and the orders of “{“, ”}”, ”(“, ”)”, ”[“, ”]” are correct in exp.Examples:Input : exp = “[()]...
read more
Stack
Recursion
DSA
Amazon
expression-evaluation
Vieta's Formulas
Last Updated: 13 March 2023
Vieta's formula relates the coefficients of polynomial to the sum and product of their roots, as well as the products of the roots taken in groups. Vieta's formula describ...
read more
Misc
Mathematical
Engineering Mathematics Questions
DSA
maths-polynomial
expression-evaluation
Range Queries for Longest Correct Bracket Subsequence Set | 2
Last Updated: 11 July 2025
Given a string s of length n, consisting of opening and closing brackets and an array queries[] consisting of q queries of type [start, end], where start defines the start...
read more
Misc
Stack
DSA
Arrays
cpp-stack
expression-evaluation
Evaluate an array expression with numbers, + and -
Last Updated: 19 September 2023
Given an array arr[] of string type which consists of strings "+", "-" and Numbers. Find the sum of the given array.Examples :Input : arr[] = {"3", "+", "4", "-", "7", "+"...
read more
Misc
Strings
DSA
Arrays
expression-evaluation
Solve the Linear Equation of Single Variable
Last Updated: 24 June 2024
Given a linear equation, task is to find the value of variable used. The equation contains only '+', '-' operation, the variable and its coefficient.If there is no solutio...
read more
Misc
Mathematical
DSA
expression-evaluation
Print Bracket Number
Last Updated: 25 April 2025
Given a string s containing brackets and characters, the task is to find the bracket numbers for each bracket in the string. A bracket number represents the order in which...
read more
Strings
Stack
Mathematical
DSA
Flipkart
expression-evaluation
1
2