Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VanjaRo/LeetCode
/ main
Function
main
tasks/150.go:8–12 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
6
)
7
8
func
main() {
9
arr := []string{
"4"
,
"13"
,
"5"
,
"/"
,
"+"
}
10
fmt.Print(evalRPN(arr))
11
// fmt.Print(13 / 5)
12
}
13
14
func
evalRPN(tokens []string) int {
15
st := Stack{}
Callers
nothing calls this directly
Calls
2
evalRPN
Function · 0.85
Print
Method · 0.80
Tested by
no test coverage detected