← Questions

Evaluate division

0
AmazonCodingLast asked Sep 2026

You get equations a / b = value between string variables, each standing for a positive real number, and a large batch of queries c / d. Answer every query from the equations, or report that it cannot be determined. Because the batch is large, think about what to precompute so each query is cheap.

Write and test your solution herePython in your browser, the question's tests level by level, saved for you.Sign in to start coding