Software Engineering Interview Questions

56,371 software engineering interview questions shared by candidates

Write this function (on a Google doc): /*How many ways can you make change given the following denominations? ie, if numCentsToMake is 6 and denominations is [25, 10, 5, 1], then it should return 2: either a nickel and a penny or 6 pennies.*/ int numWaysToMakeChange(int numCentsToMake, int[] denominations)
avatar

Software Engineering Intern

Interviewed at Google

4.4
Oct 14, 2011

Write this function (on a Google doc): /*How many ways can you make change given the following denominations? ie, if numCentsToMake is 6 and denominations is [25, 10, 5, 1], then it should return 2: either a nickel and a penny or 6 pennies.*/ int numWaysToMakeChange(int numCentsToMake, int[] denominations)

Viewing 401 - 410 interview questions

Glassdoor has 56,371 interview questions and reports from Software engineering interviews. Prepare for your interview. Get hired. Love your job.