Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QUESTION] - How many loop for DAY1-pt2 ? #1

Closed
ibbatta opened this issue Dec 5, 2018 · 6 comments
Closed

[QUESTION] - How many loop for DAY1-pt2 ? #1

ibbatta opened this issue Dec 5, 2018 · 6 comments
Labels
question Further information is requested

Comments

@ibbatta
Copy link

ibbatta commented Dec 5, 2018

I run my script (very similar to yours) and it's looping many times but is a bit weird, how many loop did you do before found the duplicate frequence?

@adriennetacke
Copy link
Owner

I don't have an exact number, I actually have a while loop running until I find the duplicate.

What seems to be happening with your solution?

@adriennetacke adriennetacke added the question Further information is requested label Dec 5, 2018
@ibbatta
Copy link
Author

ibbatta commented Dec 5, 2018

Actually I don't know...
This operation seems to be quite long! (that's why I would know how many loops ahahah)

screenshot at 2018-12-05 18 57 33

@adriennetacke
Copy link
Owner

Hmm, at best guess, it looks like an infinite loop! Does it just freeze at the point in your screenshot?

@ibbatta
Copy link
Author

ibbatta commented Dec 5, 2018 via email

@ibbatta
Copy link
Author

ibbatta commented Dec 6, 2018

Ok solved doing for loop instead forEach (don't know why... I will spend next days studying why, sigh)

@ibbatta ibbatta closed this as completed Dec 6, 2018
@adriennetacke
Copy link
Owner

I'm glad you resolved it somehow!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants