Data Structures & Algorithms
Q1 (10 pts): Define kmer. Provide 3 separate examples.
Q2 (15 pts): Define a heuristic algorithm. When is it appropriate to use one?
Q3 (15 pts): If you have 25 taxa, how many possible rooted trees can you construct?
Q4 (20 pts): Given the sequence AATTACAGGCGACAGATA find all kmers of size 3. Create a table that lists each kmer along with its count (number of times found) and position(s).
Q5 (20 pts): Describe how a hash function works, using both descriptive text and a diagram.
Q6 (20 pts): Describe how BLAST uses hash tables to speed up sequence searching.


