Design a divide-and-conquer algorithm

Assignment Help Data Structure & Algorithms
Reference no: EM1358013

1-For a pair of strings v = v1 . . . vn and w = w1 . . .wm, define M(v,w) to be the matrix whose (i, j)th entry is the score of the optimal global alignment which aligns the character vi with the character wj . Give an O(nm) algorithm which computes M(v,w).

Define an overlap alignment between two sequences v = v1 . . . vn and w = w1 . . .wm to bean alignment between a suffix of v and a prefix of w. For example, if v = TATATA and w = AAATTT, then a (not necessarily optimal) overlap alignment between v and w is ATA AAA Optimal overlap alignment is an alignment that maximizes the global alignment score between vi, . . . , vn and w1, . . .wj , where the maximum is taken over all suffixes vi, . . . , vn of v and all prefixes w1, . . .wj of w.

2-Design a greedy algorithm for the Multiple Breakpoint Distance problem and evaluate its approximation ratio.

3-Design a divide-and-conquer algorithm for the Motif Finding problem and estimate its running time. Have you improved the running time of the exhaustive search algorithm?

Reference no: EM1358013

Questions Cloud

Neurological soft signs or symptoms of a patient : What are some of the neurological soft signs or symptoms of a patient who has been diagnose as being schizophrenia?
Modern popular culture : Analyzing a role that popular culture plays in the lives of people explain how your personal taste correlates with overall societal views of popular culture.
Explain how might you make profits by purchases or sales : Explain  how might you make profits by purchases or sales of bonds now,with the intention to sell in a few months' time.
What is the cross-sectional area of the wire : An astronaut's normal weight it 600 newtons. How much would she weigh while orbiting in a satellite at 12,000 kilometers [two earth radii] above the surface of Earth.
Design a divide-and-conquer algorithm : Design a divide-and-conquer algorithm for the Motif Finding problem and estimate its running time. Have you improved the running time of the exhaustive search algorithm?
Analysis of the investment : Analysis of the Investment,  To prepare for this Individual Assignment: Review the Anthony's Orchard case study in the unit resources.
Team dysfunction : Team Dysfunction - Find a time when you saw or were a participant on a team that encountered dysfunction or the ability to accomplish a task.
Job-order costing variables : On July 1, Job 46 had a beginning balance of $1,235. During July, prime costs added to the job totaled $560. Of that amount, direct materials were three times as much as direct labor. The ending balance of the job was $1,921.
Explain sometimes organizations must go outside the firm : Explain Sometimes organizations must go outside the firm to hire talent and thus bypassing employees already working for the firm.

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Effective address-addressing mode of instruction is direct

Evaluate the effective address if the addressing mode of the instruction is (a) direct; (b) immediate; (c) relative; (d) register indirect.

  Give time algorithm that outputs satisfying assignment

Find out  whether there is an assignment of true/false values to the literals such that at least a*m clauses will be true. Note that 3-SAT(1) is exactly the 3-SAT problem. Give an O(m*n)-time algorithm that outputs a satisfying assignment for 3-S..

  Algorithm-flow chart for people having computer experience

Write an algorithm and design a flow chart to determine all people who have computer experience.

  Algorithm for finding smallest element in unsorted array

Consider the following algorithm for finding the smallest element in an unsorted array: RANDOMMIN(A[1 .. n]). What is the exact expected number of executions of line ( )?

  Decrypting the ciphertext to recover the plaintext

If you get ciphertext message YPHDCRPBEQTAA, decrypt to recover plaintext.

  Encryption feistel cipher and decryption algorithm

If this is psudocode for encryption feistel cipher determine decryption algorithm?Output: ciphertext = (left[16], right[16]) Explain pseudo-code of corresponding decryption algorithm for this cipher.

  Algorithm to find maximum sum of contiguous sublist

Using dynamic programming, write an algorithm to find the maximum sum of contiguous sublist of a given list of n real values.

  Algorithm for a bank account

Write algorithm to settle following question: A bank account starts out with $10,000. Interest is compounded monthly at 6 percent per year (0.5 percent per month).

  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.

  Explaining use of encryption-virus and vpn

Write down the suitable example of best use of Encryption, Virus, VPN, Firewall securities, when and explain why?

  Explaining effective customer relationships and loyalty

Paws'n Tails is an online pet shop that wants to influence what customers buy and builkd effective customer relationships and loyalty.

  Explaining view of header and footer areas of worksheet

In which view can you see header and footer areas of worksheet?

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