Skip to content

Conversation

@NathanYee
Copy link
Owner

Hashtables and list comprehensions. I successfully slowed down the program by two seconds.

new_string = new_string + get_complement(i)

return new_string
return ''.join(get_complement(n) for n in dna[::-1])
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Effective use of list comprehensions.

@phuston
Copy link

phuston commented May 5, 2016

Great work - you're all submitted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants