Back to problems

Alien Dictionary Evaluation

Algorithm · Uber · Hard

Alien Division Queries Medium · Topics · Company Tags · Hints You are exploring a newly discovered alien language where certain numeric relationships between words have been decoded. You are given a list of known division equations, each of the form a / b = value, where a and b are distinct strings representing words in the alien language, and value is a floating-point number. Your task is to answer a series of queries based on these equations. Specifically, for each query x…

Checking your access…