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.



just right the logic of it 1--> If few people are electing then every time ur candidate should..

Answer / Prem Prakash Pal

[For the first question: If a small number of voters participate in an election, the majority's preferred candidate will likely win due to the lack of significant competition. For the second question: When arranging books into boxes, continue taking boxes until the total weight of books in a box equals or exceeds the maximum capacity of that box. Then, count the number of boxes used.]

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More OOPS Interview Questions

Differences between inline functions and non-inline functions?

4 Answers   Ness Technologies,


What is Dynamic Polymorphism?

13 Answers  


What is the real time example of inheritance?

1 Answers  


What is balance factor?

1 Answers  


Program to check whether a word starts with a capital letter or not.

1 Answers   Infosys,


What does sksksk mean in text slang?

1 Answers  


what is a class

6 Answers  


Example for 4 pillar of oops like, Inheritance,Poly,Abstraction,Encabsulation ?

3 Answers  


What is overloading in oops?

1 Answers  


write a program to print * * * * * *

2 Answers  


Why is polymorphism used?

1 Answers  


all about pointers

2 Answers  


Categories