Skip to content

Bug Report for combinations-of-a-phone-number #5997

Description

@riyacore404

Bug Report for https://neetcode.io/problems/combinations-of-a-phone-number

Description

The output displayed in the Results panel is sometimes incorrect and appears to be stale, even though the solution is accepted by the judge.

For example, when running the Letter Combinations of a Phone Number problem with:

digits = "3"

my solution is Accepted for the said test case, but the Results panel consistently shows output corresponding to a different testcase (e.g. combinations for "34"), or displays truncated output.

This persists even after:

  • Hard refreshing the page (Cmd + Shift + R)
  • Re-running the solution multiple times
  • Waiting for the results to reload

The judging itself is correct (the submission is accepted), but the rendered output in the UI is not.

Steps to Reproduce

  1. Open the Letter Combinations of a Phone Number problem.
  2. Run or submit an accepted solution.
  3. Observe the Results panel.
  4. Hard refresh the page and run again.

Expected Behavior

The Results panel should display the output corresponding to the current testcase and current execution.

Actual Behavior

The Results panel consistently displays stale or incorrect output. The submission itself is accepted, indicating that the backend judge is producing the correct result, but the frontend is rendering outdated or mismatched output.

Environment

  • Browser: Safari
  • OS: macOS
  • Issue persists after hard refresh and multiple reruns

Additional Notes

This appears to be a frontend rendering/state synchronization issue rather than a judging issue, since the solution is accepted while the displayed output remains incorrect.

Screenshots

Image Image

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