IT206: Design and Analysis of Algorithms
Read chapters 19-20.
A sequence is a palindrome if it reads the same whether we read it from left to right or right to left. For instance, A C G G G G C A is a palindrome.
A G T C M C T G A is a palindrome of length 9.
Problem:
Here is a set of characters.
S A G E S R A D A R U K M Y G Y M D T O P S P O T B S
1. Find the longest palindrome or sequence in the set.
2. Write your own algorithm to explain how to arrive to the solution. Illustrate your answer. Your algorithm should work with any set of characters.
You are required to make at least two comments on the responses posted by you classmates with a minimum of 50 words. Make sure you design your response with your own words. Your responses to your classmates must be of substance; not just “I agree” or “Good Post.” The purpose of the responses is to convert the discussion forum into a quality academic environment through which you improve your knowledge and understanding. Read and review all assigned course materials and chapters before you start working on your assignments.
5 years ago
7
Purchase the answer to view it

- Algorithm-9mins8611.docx
- Algorithm-9mins8611.pdf
- what are the basics of IFRS
- kim woods
- Assignment 2: LASA 1 - Change in an Organization
- Module 2 DQ2 stocks
- Effects of Child Sexual Abuse
- Sociology paper
- HCA 415 Week 3 Assignment 2 ( Significant Contributions to Public Health - Part I ) ~ ( Latest Syllabus - Perfect Tutorial - Scored 100% )
- HSA 599
- BUS 520 Week 3 Assignment 1 - Finding the Leader in You Self-Assessment Johari Window
- We 6