โ† HCLTech questions

Next Smaller Next Greater & Minimum Coins Change

Filed under HCLTech

The question

Find the next smaller and next greater elements in an array, and find the minimum number of coins that make a change.

No write-up yet. Related questions below have one.

Related HCLTech questions

Collected from public candidate posts and coding forums. Updated Nov 2026.