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.
Lead Engineer Interview Questions
6,406 lead engineer interview questions shared by candidates
diffrence between== and ===
How will you test a search engine
Are you willing to be on call even on Christmas?
Hashmap counting occurrences from string.
What is new in Java 9?
Third Coding Round 1. Rotate matrix 90 angle 2. Find largest Kth element from an array.
Since the requirement was for C developer, questions were more in C. Covered almost all the basic topics of C in telephonic interview. Face to face interviews were with programming questions like efficient method to count number of bits set to 1 in a 32-bit register without using shift operators, efficient method to toggle a bit, like that.
How do you cross a river with crocodiles in it
Why do I want to consider the position over my current job?
Viewing 31 - 40 interview questions