Software Lead Interview Questions

53,486 software lead interview questions shared by candidates

Imagine you have an e-shop with discounts. Discounts are provided as coupons. Coupons can be of 3 types: 1) deduct percent of price from the current item 2) deduct percent of price from the next item 3) deduct an exact sum in dollars from N next items Imagine you have a shopping cart with some items in it and some coupons (of the types above). Write a program that will calculate final price of the order (after applying all coupons). Order of coupons application matters. Each type of coupon may appear from zero to infinite times.
avatar

Lead Engineer

Interviewed at Vista

3.7
Apr 15, 2018

Imagine you have an e-shop with discounts. Discounts are provided as coupons. Coupons can be of 3 types: 1) deduct percent of price from the current item 2) deduct percent of price from the next item 3) deduct an exact sum in dollars from N next items Imagine you have a shopping cart with some items in it and some coupons (of the types above). Write a program that will calculate final price of the order (after applying all coupons). Order of coupons application matters. Each type of coupon may appear from zero to infinite times.

Viewing 261 - 270 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 53,486 interview questions and reports from Software lead interviews. Prepare for your interview. Get hired. Love your job.