DIY: Evaluate Division
Understand how to implement a function in Go that evaluates division between variable pairs given equations and values. Learn to handle queries that ask for results or return -1.0 if undeterminable. This lesson prepares you for real Uber coding challenges by applying algorithmic problem-solving techniques.
We'll cover the following...
We'll cover the following...
Problem statement
You are given equations, an array of variable pairs, and values, an array of real numbers. equations[i] = [Ai, Bi] and values[i] represent the equation Ai / Bi = ...