</>OfferRetriever
DashboardDiscuss
NEW

Halloween Sale

Unlock all premium questions for over 30% off

$10.42$7.08/mo

--

:

--

:

--

:

--

Get this deal
Back to Microsoft Questions

Suffix Maximum Occurrences

Medium

Question

Two arrays are provided: the integers nums and a list of starting indices query. Each entry of query names a starting position. The suffix of nums from there through the last element has some largest value; count how often that value occurs within the suffix. Produce one count per query, keeping the same order as query. ...

Asked at:MicrosoftMicrosoft AI

More Microsoft interview questions

All Microsoft 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.