Loading Question...
Given a list of integers representing the heights of individuals in a lineup, find the maximum friendship quotient. The friendship quotient is calculated as the product of the position difference and the minimum height of two individuals.
Expert in Data Structures & Algorithms. Building tools to help developers crack FAANG interviews.