8000 update: add literature reference · TheAlgorithms/JavaScript@ed1b831 · GitHub
[go: up one dir, main page]

Skip to content

Commit ed1b831

Browse files
committed
update: add literature reference
1 parent 83fae75 commit ed1b831

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Data-Structures/Stack/EvaluateExpression.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/**
22
* Evaluate a numeric operations string using a stack.
33
* Supports basic arithmetic operations: +, -, *, /
4+
* Literature reference: https://www.geeksforgeeks.org/evaluation-of-postfix-expression/
45
*
56
* @param {string} expression - Numeric operations expression to evaluate.
67
* @returns {number|null} - Result of the expression evaluation, or null if the expression is invalid.

0 commit comments

Comments
 (0)
0