MCPcopy 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
8func main() {
9 arr := []string{"4", "13", "5", "/", "+"}
10 fmt.Print(evalRPN(arr))
11 // fmt.Print(13 / 5)
12}
13
14func evalRPN(tokens []string) int {
15 st := Stack{}

Callers

nothing calls this directly

Calls 2

evalRPNFunction · 0.85
PrintMethod · 0.80

Tested by

no test coverage detected