← Flipkart questions

Variable Relation Solver with Multiplication Constants

Filed under Flipkart

Implement a variable relation solver that supports makeRelation(v1, C, v2) establishing the relation v1 = C * v2, and findRelation(v1, v2) which evaluates and returns the constant ratio between two…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Flipkart questions

Collected from public candidate posts and coding forums. Updated Nov 2026.