Data Stream as Disjoint Intervals - (AMAZON) : Explanation ➕ Live Coding VIDEO
This is our 37th Video on our Array Playlist.
In this video we will try to solve a very very good and Hard level Qn "Data Stream as Disjoint Intervals" (Leetcode-352).
We will do live coding after explanation and see if we are able to pass all the test cases.
Problem Name : Data Stream as Disjoint Intervals
Company Tags : AMAZON
My solutions on Github : https://github.com/MAZHARMIK/Interview_DS_Algo/blob/master/Arrays/Intervals_Based_Qn/Data%20Stream%20as%20Disjoint%20Intervals.cpp
Leetcode Link : https://leetcode.com/problems/data-stream-as-disjoint-intervals/
My GitHub Repo for interview preparation : https://github.com/MAZHARMIK/Interview_DS_Algo
Subscribe to my channel : https://www.youtube.com/channel/UCaw58edcO3ZqMw76Bvs0kGQ
╔═╦╗╔╦╗╔═╦═╦╦╦╦╗╔═╗
║╚╣║║║╚╣╚╣╔╣╔╣║╚╣═╣
╠╗║╚╝║║╠╗║╚╣║║║║║═╣
╚═╩══╩═╩═╩═╩╝╚╩═╩═╝
0:00 - Intro & Understanding Qn
3:46 - Approach-1 (Intuition)
8:13 - Approach-1 (Live Coding)
12:30 - Approach-2 (Intuition)
17:17 - Approach-2 (Dry Run)
23:19 - STORY Approach-2
30:52 - Approach-2 (Live Coding)
#coding #helpajobseeker #easyrecipes #leetcode #leetcodequestionandanswers #leetcodesolution #leetcodedailychallenge #leetcodequestions #leetcodechallenge #hindi #india #hindiexplanation #hindiexplained #easyexplaination #interview #interviewtips
#interviewpreparation #interview_ds_algo #hinglish
Other Videos By codestorywithMIK 2023-03-06 Kth Missing Positive Number - (Google, Apple, Amazon, Meta) : Explanation ➕ Live Coding 2023-03-04 Jump Game IV - (Leetcode - 1345) - (Google, Microsoft, Adobe, Amazon) : Explanation ➕ Live Coding 2023-03-04 Count Subarrays With Fixed Bounds - (Leetcode - 2444) - (Microsoft) : Explanation ➕ Live Coding 2023-03-03 Find the Index of the First Occurrence in a String - (Google, Microsoft) : Explanation ➕ Live Coding 2023-03-01 Sort an Array - (Leetcode - 912) - (Microsoft, Goldman Sachs, Cisco) : Explanation ➕ Live Coding 2023-02-28 Find Duplicate Subtrees (Leetcode - 652) - (GOOGLE) : Explanation ➕ Live Coding 2023-02-26 Construct Quad Tree (Leetcode - 427) - (Google) : Explanation ➕ Live Coding 2023-01-30 Promise from a coder to coder 💪👩🏻💻👨🏻💻 2023-01-29 LFU Cache - (Microsoft) : Explanation➕Live Coding 2023-01-29 LRU Cache - (Adobe, Microsoft, Amazon, Twitch...):Explanation➕Live Coding 2023-01-27 Data Stream as Disjoint Intervals - (AMAZON) : Explanation ➕ Live Coding 2023-01-27 Concatenated Words - (META) : Explanation ➕ Live Coding 2023-01-26 Cheapest Flights Within K Stops | GOOGLE | BFS | Explanation ➕ Live Coding 2023-01-25 Find Closest Node to Given Two Nodes | BFS & DFS | Explanation ➕ Live Coding 2023-01-24 Snakes and Ladders - (Microsoft, Amazon, Adobe..) : Explanation ➕ Live Coding 2023-01-22 Find the Town Judge - (Microsoft, Amazon, Uber) : Explanation ➕ Live Coding 2023-01-22 Detect Cycle using DSU - (Google, Microsoft) | Graph Concepts & Qns - 20 | Explanation+Coding 2023-01-22 Palindrome Partitioning - (Google, Microsoft, Meta) (Khaandani Template) : Explanation ➕ Live Coding 2023-01-21 Restore IP Addresses - (META) : Explanation ➕ Live Coding 2023-01-20 Non-decreasing Subsequences -(Khaandani Backtracking Template) : Explanation ➕ Live Coding 2023-01-19 Subarray Sums Divisible by K - (Microsoft, Amazon, Paytm) : Explanation ➕ Live Coding