← Questions

Zipline between two trees maximizing height times span

0
NuroCodingLast asked Aug 2026

A coding interview question asked in Nuro's technical phone screen, last asked Aug 2026. It tests two pointers, arrays and greedy.

Trees stand in a row, one unit apart: tree i is at position i and has height heights[i]. You will hang one zipline between two different trees, attached at the same height on both, so no higher than the shorter tree.

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

  • Nuro · Technical phone screen · Last asked Aug 2026

What it tests

two pointers · arrays · greedy

Your code and the AI tutor open when you unlock this question.