Hamming Distance Java - HammingDistance.java - DNA sequence
    Hamming Distance Java - HammingDistance.java - DNA sequence

Hamming Distance Java - HammingDistance.java - DNA sequence

$25.00

complete that :

There is a skeleton

package task;

public class Hamming {

                public static boolean isDNASequence(String s) {

                                /*

                                 * TODO Put your code here.  Remove this comment when you're done!

                                 *

                                 * @return true if and only if every character in the input String s

                                 * is one of a, A, c, C, g, G, t or T.

                                 * @return false if s is null or empty.

                                 */

                                return false;

                }

                public static int[][] getDistances(String[] sequences) {

                                /*

                                 * TODO Put your code here.  Remove this comment when you're done!

                                 *

                                 * @return a 2-dimensional array of integer values.  The [i][j]-th value

                                 * must be the Hamming distance between sequences i and j (see course

                                 * notes for more details).

                                 * @return null if sequences is null.

                                 */

                                return null;

                }

                public static int getHammingDistance(String sequence1, String sequence2) {

                                /*

                                 * TODO Put your code here.  Remove this comment when you're done!

                                 *

                                 * @return a single integer value, which is the Hamming distance between

                                 * sequences i and j (see course notes for more details).

                                 * @return null if sequences is null.

                                 */

                                return 0;

                }

                public static void main(String[] args) {

                                /*

                                 * TODO Put your code in here.  Remove this comment when you're done!

                                 * See Task description for details.

                                 */

                }

}

 

My tutorial contains Java Programs

If you have more questions, please contact me via email support@extutorials.com

I will help you any time

Thank you !

Attached Files

Move over [ preview ] file name to preview content in it!

  • HammingDistance.zip [2.7KB]
    • DNA.txt [0.3KB] [ preview ]
    • task
      • Hamming.java [2.3KB] [ preview ]

Write a review

Your Name:


Your Review: Note: HTML is not translated!

Rating: Bad           Good

Enter the code in the box below:



PURCHASE SAVE
2 Tutorials 10%
3 Tutorials 13%
4 Tutorials 16%
5 Tutorials 19%
6 Tutorials 22%
7 Tutorials 25%
8 Tutorials 28%
9 Tutorials 31%
10 Tutorials 34%
add url more

9MZQASHWN73B