Byte Depth
← All tags

#Intervals

8 articles

DSA

Missing and Repeating Number

4 approaches incl. Brute Force, Better, Maths, and more. Optimal — Time O(n), Space O(1).

Medium·Aug 8, 2026
DSAIntervalsArrays

DSA

Non-overlapping Intervals

Covers: Greedy, DP. Optimal — Time O(n), Space O(1).

Medium·Aug 8, 2026
DSAIntervalsArrays

DSA

Merge Intervals

Covers: Linear scan, No extra Space. Optimal — Time O(n), Space O(1).

Medium·Aug 8, 2026
DSAIntervalsArrays🏢 Amazon

DSA

Meeting Rooms III

Intervals problem — solution with code and analysis.

Hard·Aug 8, 2026
DSAIntervalsArrays

DSA

Meeting Rooms II

Covers: Sweep line algorithm (or tim…, Min Heap (Priority Queue), Two Sorted Arrays (Two Point…. Optimal — Time O(n log n), Space O(n).

Medium·Aug 8, 2026
DSAIntervalsArrays🏢 Amazon

DSA

Meeting Rooms

Intervals. Time O(N * logN), Space O(N).

Easy·Aug 8, 2026
DSAIntervalsArrays

DSA

Maximum meetings

Greedy approach. Optimal — Time O(N * logN), Space O(N).

Medium·Aug 8, 2026
DSAIntervalsArrays

DSA

Insert Interval

4 approaches incl. Brute Force: Linear Iteratio…, Better: Binary Search, Alternate Approach: O(nlogn), and more. Optimal — Time O(log n), Space O(1).

Medium·Aug 8, 2026
DSAIntervalsArrays
© 2026 ByteDepth. All rights reserved.Built with care for curious engineers.