Movatterモバイル変換


[0]ホーム

URL:


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

Commit98245ca

Browse files
refactor 227
1 parentfd081e6 commit98245ca

File tree

1 file changed

+0
-15
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+0
-15
lines changed

‎src/main/java/com/fishercoder/solutions/_227.java

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,6 @@
33
importjava.util.ArrayDeque;
44
importjava.util.Deque;
55

6-
/**
7-
* 227. Basic Calculator II
8-
*
9-
* Implement a basic calculator to evaluate a simple expression string.
10-
11-
The expression string contains only non-negative integers, +, -, *, / operators and empty spaces . The integer division should truncate toward zero.
12-
13-
You may assume that the given expression is always valid.
14-
15-
Some examples:
16-
"3+2*2" = 7
17-
" 3/2 " = 1
18-
" 3+5 / 2 " = 5
19-
Note: Do not use the eval built-in library function.
20-
*/
216
publicclass_227 {
227

238
publicstaticclassSolution1 {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp