Filter interviews by
I applied via Approached by Company and was interviewed before Jun 2023. There was 1 interview round.
The coin change problem involves finding the minimum number of coins needed to make a certain amount of change.
Start by creating an array to store the minimum number of coins needed for each amount from 0 to the target amount.
Iterate through each coin denomination and update the minimum number of coins needed for each amount.
Return the value at the target amount in the array as the minimum number of coins needed.
Top trending discussions
Software Engineer
342
salaries
| ₹13.3 L/yr - ₹52.1 L/yr |
SOC Design Engineer
229
salaries
| ₹11.1 L/yr - ₹35 L/yr |
Design Engineer
160
salaries
| ₹12.1 L/yr - ₹50.3 L/yr |
Software Development Engineer
158
salaries
| ₹10 L/yr - ₹40 L/yr |
System Validation Engineer
157
salaries
| ₹9 L/yr - ₹38.2 L/yr |
Qualcomm
Nvidia
Microsoft Corporation
Advanced Micro Devices