Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

150. Evaluate Reverse Polish Notation #48

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
zwfang merged 1 commit into master from evaluate-reverse-polish-notation
Jan 7, 2019

Conversation

Copy link
Collaborator

@zwfang zwfang commented Jan 7, 2019

https://leetcode.com/problems/evaluate-reverse-polish-notation/

Evaluate the value of an arithmetic expression in Reverse Polish Notation.

Valid operators are +, -, *, /. Each operand may be an integer or another expression.

Note:

Division between two integers should truncate toward zero.
The given RPN expression is always valid.
That means the expression would always evaluate to a result and there won't be any divide by zero operation.

@zwfang zwfang added math math includes the study of such topics as quantity, structure, space, and change. Medium Coefficient of difficulty medium stack LIFO, a stack is an abstract data type that serves as a collection of elements (push, pop) labels Jan 7, 2019
Copy link

codecov bot commented Jan 7, 2019
edited
Loading

Codecov Report

Merging #48 into master will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@ Coverage Diff @@
## master #48 +/- ##
==========================================
+ Coverage 99.38% 99.39% +0.01% 
==========================================
 Files 89 90 +1 
 Lines 1593 1614 +21 
==========================================
+ Hits 1583 1604 +21 
 Misses 6 6 
 Partials 4 4
Impacted Files Coverage Δ
...olish_notation/evaluate_reverse_polish_notation.go 100% <100%> (ø)

@zwfang zwfang merged commit 8f5c4b9 into master Jan 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
math math includes the study of such topics as quantity, structure, space, and change. Medium Coefficient of difficulty medium stack LIFO, a stack is an abstract data type that serves as a collection of elements (push, pop)
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /