Quick Overview

Maximize the smaller of two array values times their index distance, using the Container With Most Water objective and returning one deterministic score.

Maximize the Product of Pair Distance and Minimum Value

Company: Wayfair

Role: Software Engineer

Category: Coding & Algorithms

Difficulty: hard

Interview Round: Technical Screen

Overview: Maximize the smaller of two array values times their index distance, using the Container With Most Water objective and returning one deterministic score.

Loading…