Search Interview Questions
Question: How can you search a pattern?
Answer:
|
|||||||||||
Question: How can you search a pattern?
Answer: Source: CoolInterview.com taking regularexpressionvalidator and using its validation expression property. Source: CoolInterview.com ![]() ![]() For searching the pattern you can use the KMP(Knuth-Morris-Pratt) algorithm. The KMP algorithm preprocess the pattern P by computing a failure function F that indicates the largest possible shift using previously performed comparisons. Running time of algorithm is O(n + m), which is optimal in the worst case sense. That is, in the worst case KMP algorithm we have to examine all the characters in the text and pattern at least once. Source: CoolInterview.com ![]() ![]() We can search pattern by using regular experssions Source: CoolInterview.com ![]() ![]() If you have the better answer, then send it to us. We will display your answer after the approval Rules to Post Answers in CoolInterview.com:-
|
Related Questions | ||
What is the solution for invalid user name and password when you are connected to database through oledb and put it on the form? |
|
|
What is dynamic data replication? |
|
|
State the ACID rules? |
|
|
Explain the role of indexing in databases? |
|
|
Explain about the Storage and physical database design? |
|
|
Explain about post relational databases? |
|
|
Explain about relational database management systems? |
|
|
Explain about normal forms? |
|
|
Explain about the process of user request and data generating? |
|
|
Explain about relational operator join? |
|
|
Explain about primary key? |
|
|
Explain about relational database? |
|
|
What are the three basic rules which are to be followed for relational model of database? |
|
|
Explain about Network model? |
|
|
Explain about the hierarchical model of database? |
|
|
Explain about XML databases? |
|
|
Explain about object oriented databases? |
|
|
Explain about the database management systems. |
|
|
Explain about what a database is? |
|
|
When is a functional dependency F said to be minimal? |
|
Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.
View All Database Interview Questions & Answers - Exam Mode / Learning Mode
India News Network |