Top K most discounted items across multiple categories
Filed under Sprinklr
The question
Given N categories on an e-commerce platform where each category contains a list of items already sorted in decreasing order of discount percentage, find and return the K most discounted items overall.
No write-up yet. Related questions below have one.
Related Sprinklr questions
Collected from public candidate posts and coding forums. Updated Nov 2026.