Skip to content

统计字符串内字符出现的个数 #46

@cuining

Description

@cuining

var genCode = 'TCCAGAAAGGTAAGCCTCGCGTTGCG' //只限4个字母。可考虑实现多个字母的情况
var result = getCountedNucleotides(getCode);
console.log(result) // {"A":0, "C":0, "G":0, "T":0}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions