Merge a New Interval
Merge a new interval into a list of non-overlapping intervals.
Input: intervals = [[1,2],[3,5],[6,7],[8,10],[12,16]], newInterval = [4,8]
Output: [[1,2],[3,10],[12,16]]
Explanation: The new interval overlaps with [3,5], [6,7], and [8,10], merging them all into the unified block [3,10].
A recruiter messaged me on LinkedIn, I shared my resume, and got invited a week later.
The interviewer began by explaining the agenda and how the round would proceed. He then gave a short introduction about himself: he works on Oracle Health, on a product for the German market. After that, he asked about my experience, and I walked him th…
I had a **4-round interview process**. The interview focused mainly on DSA, HLD/System Design, and behavioral questions.
### Round 1 — Technical
The round started with a DSA question:
* **Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit**
https://leetcode.com/problems/longest-continuous-subarray-with-absolute-…
The round included both **DSA and System Design**.
* **DSA:** Asked [Next Permutation](https://leetcode.com/problems/next-permutation/description/). I was expected to explain the approach, implement the solution, and discuss the time and space complexity.
* **System Design:** Asked me to design a system for **uploading a 100 GB video**.…