</>OfferRetriever
DashboardDiscuss
NEW

Halloween Sale

Unlock all premium questions for over 30% off

$10.42$7.08/mo

--

:

--

:

--

:

--

Get this deal
Back to Affirm Questions

Count Decreasing Triples

Easy

Question

You are given an integer array nums. Return how many index triplets (i, j, k) satisfy both i < j < k and nums[i] > nums[j] > nums[k], that is, how many ways there are to pick three positions, left to right, whose values strictly decrease. ...

Asked at:Affirm

More Affirm interview questions

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