Technology Lead Interview Questions

15,830 technology 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 81 - 90 interview questions

Glassdoor has 15,830 interview questions and reports from Technology lead interviews. Prepare for your interview. Get hired. Love your job.