Skip to main content

5 docs tagged with "Math"

View All Tags

Basic Calculator

Given a string s representing a valid expression, implement a basic calculator to evaluate it, and return the result of the evaluation.

Basic Calculator II

Given a string s which represents an expression, evaluate this expression and return its value.

Pow(x, n)

Implement pow(x, n), which calculates x raised to the power n.

Reverse Integer

Given a signed 32-bit integer x, return x with its digits reversed.