-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Description
Bug Report for https://neetcode.io/problems/two-integer-sum
Please describe the bug below and include any steps to reproduce the bug or screenshots if possible.
System: Macbook M2
Summary
On NeetCode’s coding problem pages (e.g., Two Sum), the code editor fails to initialize properly. The language selection dropdown is blank, no indentation is recognized, and the solution cannot be run. This blocks all problem-solving functionality.
Steps to Reproduce
Open Safari on Mac
Device: MacBook Pro with Apple M2 chip
Browser: Safari 17.x (WebKit engine)
macOS: Sonoma 14.x
Navigate to NeetCode
Go to https://neetcode.io
Log into your account (if needed)
Access a Problem
Go to any problem (e.g., Two Sum: https://neetcode.io/problems/two-sum)
Try to Interact with the Code Editor
Observe:
Language selector is blank or unclickable
No syntax highlighting
Indentation does not work
Run button does nothing
Expected Behavior
The language selector should default to Python or JavaScript (or remember last used)
Code editor should support indentation (Tab key, auto-formatting)
User should be able to write and run code as expected
Troubleshooting Steps Tried
✅ Reloaded page
✅ Cleared browser cache
✅ Disabled all extensions
✅ Verified issue persists on other NeetCode problems
✅ Observed issue is not present in Chrome or Firefox
