Ebay Interview Report
- 1of 1 vote
AnswersGiven a 3-D array, if any m[r][c][d] is <=0 mark all the cells in the entire row,col and depth as zero and return the o/p array
- juny January 22, 2014 in United States for Traffic| Report Duplicate | Flag | PURGE
Ebay SDE-2 Arrays - 0of 0 votes
AnswersYou are a cashier, and any item purchased in the store is in the range of 1c to 99c . Customer always pays 100 c i.e 1$. You need to deliver change with 25c, 10c,5c ,1c.
- juny January 22, 2014 in United States for Traffic
1. Code to get the most optimal solution with lease number of coins used
2. Some time in India 1 Rs = 150 ps and following coins were available {50,25,20,10,5,2,1}. Here if the change was 40, you should display 2 20ps and not 25ps,10ps,5ps. . What are the optimizations you will make| Report Duplicate | Flag | PURGE
Ebay SDE-2
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.