Bazaarvoice Interview Report
- 0of 0 votes
AnswersYou are given a bunch of emails in an inbox. You want to send all the sender addresses to some server. You can send them in batches (each batch containing a bunch of sender email addresses). The restriction is that no batch can contain duplicate email address. How would you write a program to send all the email addresses in batches such that it takes the minimum number of batches.
- bv September 30, 2009
Analyze the complexity| Report Duplicate | Flag | PURGE
Bazaarvoice Software Engineer / Developer Algorithm - 0of 0 votes
AnswersImplement the function
- bv September 30, 2009
bool pairExist(int * arr, int sum)
where arr is an array.
The function returns true if there exists a pair in arr such that the sum of the pair is equal to the function parameter 'sum'.| Report Duplicate | Flag | PURGE
Bazaarvoice Software Engineer / Developer Algorithm
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.