Tip 1 : LeetCode
Tip 2 : Youtube for System Design
Tip 3 : Problem Solving is a mus
Tip 1: Highlight optimizations in terms of number, eg: increased productivity by 50x or decreased API latency by 80%
Tip 2: Highlight only core projects that you want the interviewer to ask. The interviewer is skilled and has basic knowledge of most technologies, so do not over boast your skills. Keep it limited
For the given 5 intervals - [1, 4], [3, 5], [6, 8], [10, 12], [8, 9].
Since intervals [1, 4] and [3, 5] overlap with each other, we will merge them into a single interval as [1, 5].
Similarly, [6, 8] and [8, 9] overlap, merge them into [6,9].
Interval [10, 12] does not overlap with any interval.
Final List after merging overlapping intervals: [1, 5], [6, 9], [10, 12].
Requires two sorted list of start time and end time. Need to process to get the required data
The width of each bar is the same and is equal to 1.
Input: ‘n’ = 6, ‘arr’ = [3, 0, 0, 2, 0, 4].
Output: 10
Explanation: Refer to the image for better comprehension:
You don't need to print anything. It has already been taken care of. Just implement the given function.
Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
Which SQL keyword removes duplicate records from a result set?