Sort first k elements and string matching
Filed under Flipkart
The question
Sort the first k elements of an array in increasing order and the remaining in decreasing order, solve a HashMap problem, and tackle an advanced string matching problem.
No write-up yet. Related questions below have one.
Related Flipkart questions
Collected from public candidate posts and coding forums. Updated Nov 2026.