Skip to content

Day 10 Part 2, bug? #16

Open
Open
@dmaahs2017

Description

@dmaahs2017

I got stuck on part two for this problem, so I went to use your code as a reference. Updated my logic to match, which passes all the sample cases, however it does not work for my input data.

I then pulled your exact code and ran it on my input data and it does not work. I'm having trouble finding what the specific edge case is, but here is my input data https://gist.github.com/dmaahs2017/0f711278cd6a32e403c010a520f99285. The answer is not 444, answer too high.

I think this means there may be bug in your day10 part 2 solution, but you happened to get lucky with the input data not containing a particular edge case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions