You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not a bug per se, but the recommended space complexity doesn't sit right with me since we are given an array and for languages like C/Java those are effectively final meaning, if we need to insert the interval without merging, it cannot be done in O(1) space but rather O(n).
If this is not the case please disregard this issue.
Have a nice day :D
The text was updated successfully, but these errors were encountered:
Bug Report for https://neetcode.io/problems/insert-new-interval
It's not a bug per se, but the recommended space complexity doesn't sit right with me since we are given an array and for languages like C/Java those are effectively final meaning, if we need to insert the interval without merging, it cannot be done in O(1) space but rather O(n).
If this is not the case please disregard this issue.
Have a nice day :D
The text was updated successfully, but these errors were encountered: