Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix Problem 373 (Find K Pairs with Smallest Sums) #1

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

Closed
sx4im wants to merge 2 commits into JoshCrozier:master from sx4im:master
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Create BUG_REPORT.md
  • Loading branch information
sx4im authored Jul 15, 2025
commit 3c05c183d2a00e2c43fd84f7c5c6e0ac5e32b2a1
20 changes: 20 additions & 0 deletions BUG_REPORT.md
View file Open in desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Bug Report – Problem 295: Find Median from Data Stream

## ❌ Error:
Line 2 in solution.js

class PriorityQueue {

SyntaxError: Identifier 'PriorityQueue' has already been declared

vbnet
Copy
Edit

## 📌 Cause:
The `PriorityQueue` class is likely being declared multiple times — either due to repeated test executions or how the test environment handles class scopes. This results in a naming conflict.

## ✅ Suggested Fix:
Rename the `PriorityQueue` class to something more unique like `MyPriorityQueue`.

Just submitting this to report the issue. Let me know if you'd like me to submit a patch!

AltStyle によって変換されたページ (->オリジナル) /