Skip to content

Conversation

@jcalvarezj
Copy link

@jcalvarezj jcalvarezj commented May 27, 2020

Completed the duplicate_zeros function

@jcalvarezj jcalvarezj closed this May 27, 2020
@jcalvarezj jcalvarezj reopened this May 27, 2020
@0xp4blo
Copy link
Contributor

0xp4blo commented May 27, 2020

Hi @jcalvarezj, thanks for your submission! Your solution is O(n^2) in time, there’s a O(n) solution. Remember the hidden cost of list.insert.

@0xp4blo 0xp4blo changed the title Solved Challenge Submission - jcalvarezj May 27, 2020
@0xp4blo 0xp4blo added the submission Solution to problem label May 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

submission Solution to problem

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants