Goldman Sachs Interview Question

Given some function find domain and range it exists in.