Bhagwan Mahavir College Of Engg & Technology
Subject: - Analysis And Design of Algorithms.
              Subject Code:-3150703
 SEMESTER: 5th                         DEPT:CE
                           ASSIGNMENT - 4
1. What is the basic idea behind Rabin – Karp algorithm? What is expected
   running time of this algorithm? Explain it with example.
2. What is Finite Automata? How it can be used in string matching.
3. Define P, NP, NP complete and NP-hard problems.
4. Explain travelling salesman problem. Prove that it is NP complete problem.
5. Explain naïve string matching algorithm with example.
6. State whether Hamiltonian problem is a NP-Complete problem? Justify your
   answer.
7. Explain Class of problems beyond NP – P SPACE .
                               SUBJECT INCHARGE: Prof.Twinkle Ankleshwaria
                                                          (BMCET-CE DEPT)
                                             Submission date :-15 /10/2020