</>OfferRetriever
DashboardDiscuss
NEW

Halloween Sale

Unlock all premium questions for over 30% off

$10.42$7.08/mo

--

:

--

:

--

:

--

Get this deal
Back to Expedia Questions

Kth Greatest in Expanding Prefix

Easy

Question

You are given arr, a permutation of the integers 1 through n in which every integer occurs once, along with an integer k. Consider each prefix length i from k up to n, both included. For each one, find the k-th greatest value among the first i elements of arr. ...

Asked at:ExpediaGoogleNetflix

More Expedia interview questions

All Expedia interview questions
OfferRetriever

Master technical interviews with real questions from top companies. Build your confidence and career.

PRODUCT
PricingDashboardDiscussOfferRetriever vs LeetCodeCompare
LEGAL

© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.