just right the logic of it
1--> If few people are electing then every time ur candidate
should win
2--> arrange books in box, if box carry weight == books
weight then take another box..... find the no of box
required.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More OOPS Interview Questions

What is operator overloading? Give Example

11 Answers   CTS, IBM, TCS,


What is Inheritance, Multiple Inheritance, Shared and Repeatable Inheritance?

4 Answers   Accenture, L&T,


What is the advantage of oop over procedural language?

0 Answers  


There are 2 empty jars of 5 and 3 liters capacity. And a river is flowing besides. I want to measure 4 liters of wanter using these 2 jars. How do you do this?

2 Answers  


What is the difference between const int *ptr and int const *ptr???

2 Answers  






what is function overloading..?

4 Answers  


What do you mean by inheritance?

0 Answers   IBS,


what is main difference between object oriented object base

2 Answers   Wipro,


How to Increment the value of the empid E001 for each and every employee by using the programe?

1 Answers   Accenture,


What is the example of polymorphism?

0 Answers  


Conversion from a basic type to a class type may be achieved using______________

5 Answers   HCL,


What is abstraction oop?

0 Answers  


Categories