1.

Which one of the following problem types does inclusion-exclusion principle belong to?(a) Numerical problems(b) Graph problems(c) String processing problems(d) Combinatorial problemsThis question was posed to me in my homework.My doubt stems from Number Theory in chapter Number Theory of Data Structures & Algorithms II

Answer»

The correct option is (d) Combinatorial problems

Easiest explanation - Inclusion-Exclusion principle is a kind of combinatorial problem. It is a COUNTING technique to obtain the NUMBER of elements present in SETS( two, THREE , etc.,).



Discussion

No Comment Found

Related InterviewSolutions