Skip to content

Bug Report for decode-ways #4871

@chrisbuild124

Description

@chrisbuild124

Bug Report for https://neetcode.io/problems/decode-ways

First - HUGE fan of this channel :)

Ok so the bug is pretty simple that I've seen on most problems but I don't pay attention to it, so it could be on every problem I'm not sure.
Whenever I hit "Run" to test my cases, the next screen always defaults to showing me the first test case, even if I have a different test case already clicked prior to hitting "Run".

For example, on this problem, I hit "run" while test case 2 is shown and this is displayed:
Image

However, this is not test case 2, this is test case 1. After clicking a different test case, then back to case 2, test case 2 is displayed:
Image

As for solutions, I'd try to cache the test case number I am currently clicked on so it doesn't default to 1 and still show I am looking at a different test case. Of course, if I am always starting on test case 1, it wouldn't appear I have any bugs. This can get a little annoying at times with adding custom test cases that aren't test case 1.

Thanks!

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