Find the first occurrence in t of a string s

Assignment Help Data Structure & Algorithms
Reference no: EM131230394

Bioinformatics Algorithms

Problem 2.17

There are n bacteria and 1 virus in a Petri dish. Within the first minute, the virus kills one bacterium and produces another copy of itself, and all of the remaining bacteria reproduce, making 2 viruses and 2 · (n - 1) bacteria. In the second minute, each of the viruses kills a bacterium and produces a new copy of itself (resulting in 4 viruses and 2(2(n - 1) - 2) = 4n - 8 bacteria; again, the remaining bacteria reproduce. This process continues every minute. Will the viruses eventually kill all the bacteria? If so, design an algorithm that computes how many steps it will take. How does the running time of your algorithm depend on n?

Problem 4.13

Given a long text string T, one shorter pattern string s, and an integer k, find the first occurrence in T of a string (if any) s such that dH(s, s ) ≤ k. What is the complexity of your algorithm?

Problem 4.14

Given a long text string T, one shorter pattern string s, and an integer k, find the first occurrence in T of a string (if any) s such that dH(s, s ) ≤ k. What is the complexity of your algorithm?.

Tll these qustion are from the book (Introduction to Bioinformatics Algorithms. Neil C. Jones and Pavel A. Pevzner, The MIT Press (ISBN: 0-262-10106-8))

Reference no: EM131230394

Questions Cloud

How registers are stored on the stack : Write a 4-6 sentence summary describing the convention of saving $sn registers at the top of the subroutine and restoring them at the end. How registers are stored/restored on the stack and how the $sp is affected.
Advantages and disadvantages of cloud computing : What factors and management decisions must be considered when developing a solution to this problem?
Post a brief summary of your research project : Discuss with your colleagues strategies you could implement to overcome those challenges and address common questions.
What are arguments against corporate social responsibilities : What business, personal, and social costs are involved when traveling by airplane between Copenhagen and Helsinki?
Find the first occurrence in t of a string s : Given a long text string T, one shorter pattern string s, and an integer k, find the first occurrence in T of a string (if any) s such that dH(s, s ) ≤ k. What is the complexity of your algorithm?
What is the ethical dilemma presented by this case : Will Facebook be able to have a successful business model without invading privacy? Explain your answer. Are there any measures Facebook could take to make this possible?
Create job description for benefits manager position : Create a complete job description for the Benefits Manager position using O*NET. - Calculate the job evaluation points for the administrative assistant, payroll assistant, operational analyst, and benefits manager jobs.
How does fast fashion change/impact the marketing channel : Given the advantages and disadvantages of Zara's fast fashion (p. 514-516), would you still use this type of distribution strategy if you were a channel manager? Why or why not?
Design the vertical alignment of the road for a design : NEC2204 HIGHWAY ENGINEERING ASSIGNMENT - Calculate the chainage of the CS and ST and design the vertical alignment of the road for a design speed of 70km/h.

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Implement an open hash table

In this programming assignment you will implement an open hash table and compare the performance of four hash functions using various prime table sizes.

  Use a search tree to find the solution

Explain how will use a search tree to find the solution.

  How to access virtualised applications through unicore

How to access virtualised applications through UNICORE

  Recursive tree algorithms

Write a recursive function to determine if a binary tree is a binary search tree.

  Determine the mean salary as well as the number of salaries

Determine the mean salary as well as the number of salaries.

  Currency conversion development

Currency Conversion Development

  Cloud computing assignment

WSDL service that receives a request for a stock market quote and returns the quote

  Design a gui and implement tic tac toe game in java

Design a GUI and implement Tic Tac Toe game in java

  Recursive implementation of euclids algorithm

Write a recursive implementation of Euclid's algorithm for finding the greatest common divisor (GCD) of two integers

  Data structures for a single algorithm

Data structures for a single algorithm

  Write the selection sort algorithm

Write the selection sort algorithm

  Design of sample and hold amplifiers for 100 msps by using n

The report is divided into four main parts. The introduction about sample, hold amplifier and design, bootstrap switch design followed by simulation results.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd