Expedia | Senior Software Development Engineer (Senior) | Coding | Tech Screen

henry1henry1·
Interview Date:June 16, 2026Region:NA (North America)Hiring Team/Org:General Hire

You are given a 0 indexed array maxHeights of n integers, where each element represents the maximum allowed height for a tower at that position. Your task is to build n towers along a coordinate line, where the i th tower is built at coordinate i with height heights[i]. You need to find a configuration that maximizes the total sum of all tower heights. The configuration must satisfy two conditions to be considered be...

Sign in to view the full interview experience

Create or use your InterviewDB account to read the full Warren post and all shared details.

Sign in to continue
0

Discussion

0

Log in to post a comment or vote.

Sort by
Loading comments...

Interview Resources

InterviewDB

About InterviewDB

Crowdsourced Interview Question Bank for Job Seekers in Tech/Finance Industry

Copyright © 2026 InterviewDB. Victory is reserved for those who are willing to pay its price.