Rabbits in Forest:
https://youtu.be/Do2coBlSIFo
https://youtu.be/Do2coBlSIFo
YouTube
Rabbits in Forest | Leetcode 781
This video explains Rabbits in Forest using the most optimal group counting approach.
----------------------------------------------------------------------------------------------------------------------------------------------------------------
🟣 JOIN our…
----------------------------------------------------------------------------------------------------------------------------------------------------------------
🟣 JOIN our…
Count the Hidden Sequences:
https://youtu.be/z0cdra6jHs4
https://youtu.be/z0cdra6jHs4
YouTube
Count the Hidden Sequences | Leetcode 2145
This video explains Count the Hidden Sequences using the most optimal single parse counting solution.
--------------------------------------------------------------------------------------------------------------------------------------------------------…
--------------------------------------------------------------------------------------------------------------------------------------------------------…
Count the Number of Ideal Arrays:
https://youtu.be/FGf2EPyxcWg
https://youtu.be/FGf2EPyxcWg
YouTube
Count the Number of Ideal Arrays | Leetcode 2338
This video explains Count the Number of Ideal Arrays
----------------------------------------------------------------------------------------------------------------------------------------------------------------
🟣 JOIN our 𝐋𝐈𝐕𝐄 𝐢𝐧𝐭𝐞𝐫𝐯𝐢𝐞𝐰 𝐭𝐫𝐚𝐢𝐧𝐢𝐧𝐠 𝐩𝐫𝐨𝐠𝐫𝐚𝐦…
----------------------------------------------------------------------------------------------------------------------------------------------------------------
🟣 JOIN our 𝐋𝐈𝐕𝐄 𝐢𝐧𝐭𝐞𝐫𝐯𝐢𝐞𝐰 𝐭𝐫𝐚𝐢𝐧𝐢𝐧𝐠 𝐩𝐫𝐨𝐠𝐫𝐚𝐦…
Which architecture would you choose for read-heavy system ?
Anonymous Quiz
30%
Multi-Master Slave Architecture
49%
Single-Master Multi-Slave Architecture
19%
P2P Architecture
2%
Pipe-Filter Architecture
Count Complete Subarrays in an array:
https://youtu.be/Taj4VhCycRU
https://youtu.be/Taj4VhCycRU
YouTube
Count Complete Subarrays in an Array | Leetcode 2799
This video explains Count Complete Subarrays in an Array using the most optimal sliding window two pointer approach.
-----------------------------------------------------------------------------------------------------------------------------------------…
-----------------------------------------------------------------------------------------------------------------------------------------…
Today's problem is same as yesterday's and many last few problems.
Hence, not making video today.
REFERENCE CODE:-
class Solution {
#define ll long long
public:
long long countSubarrays(vector<int>& nums, int k) {
ll valid_subarrays = 0;
int win_count = 0;
int left = 0,right = 0;
int maximum = *max_element(nums.begin(), nums.end());
int n = nums.size();
while(left<n){
while(right<n and win_count<k){
if(nums[right]==maximum)
win_count++;
right++;
}
if(win_count==k)
valid_subarrays += n-right+1;
if(nums[left]==maximum)
win_count--;
left++;
}
return valid_subarrays;
}
};
Hence, not making video today.
REFERENCE CODE:-
class Solution {
#define ll long long
public:
long long countSubarrays(vector<int>& nums, int k) {
ll valid_subarrays = 0;
int win_count = 0;
int left = 0,right = 0;
int maximum = *max_element(nums.begin(), nums.end());
int n = nums.size();
while(left<n){
while(right<n and win_count<k){
if(nums[right]==maximum)
win_count++;
right++;
}
if(win_count==k)
valid_subarrays += n-right+1;
if(nums[left]==maximum)
win_count--;
left++;
}
return valid_subarrays;
}
};
Find Minimum Time to Reach Last Room 1 & 2 :
https://youtu.be/kGTqCOdXrhE
https://youtu.be/kGTqCOdXrhE
YouTube
Find Minimum Time to Reach Last Room 1 & 2 | Leetcode 3341 and 3342
This video explains the minimum time to reach last room problem which is from leetcode 3341 and Leetcode 3342 using the most optimal dijkstra algorithm.
-----------------------------------------------------------------------------------------------------…
-----------------------------------------------------------------------------------------------------…
Find Minimum Time to Reach Last Room 1 & 2:
https://youtu.be/kGTqCOdXrhE
https://youtu.be/kGTqCOdXrhE
YouTube
Find Minimum Time to Reach Last Room 1 & 2 | Leetcode 3341 and 3342
This video explains the minimum time to reach last room problem which is from leetcode 3341 and Leetcode 3342 using the most optimal dijkstra algorithm.
-----------------------------------------------------------------------------------------------------…
-----------------------------------------------------------------------------------------------------…
Count Number of Balanced Permutations:
https://youtu.be/bNnXXa2a-Jo
https://youtu.be/bNnXXa2a-Jo
YouTube
Count Number of Balanced Permutations | Leetcode 3343
This video explains Count Number of Balanced Permutations using the most optimal dynamic programming recursion with memoization technique.
-------------------------------------------------------------------------------------------------------------------…
-------------------------------------------------------------------------------------------------------------------…
Prerequisite of today's problem,
Count Number of Balanced Permutations: https://youtu.be/bNnXXa2a-Jo
Count Number of Balanced Permutations: https://youtu.be/bNnXXa2a-Jo
YouTube
Count Number of Balanced Permutations | Leetcode 3343
This video explains Count Number of Balanced Permutations using the most optimal dynamic programming recursion with memoization technique.
-------------------------------------------------------------------------------------------------------------------…
-------------------------------------------------------------------------------------------------------------------…
Today's problem: https://youtu.be/1klumzFdwxc
YouTube
Count Number of Maximum Bitwise OR Subsets | Recursion DP | Leetcode 2044
This video explains about finding the count of number of bitwise OR subsets starting from basic recursion approach to detailed dynamic programming conversion and solution using recursion and memoization.
--------------------------------------------------…
--------------------------------------------------…
Checkout the Live session on "Design & Architecture of KAFKA"
SUBSCRIBE for more on System Design
LINK: https://youtu.be/4TezK-w9_W0
SUBSCRIBE for more on System Design
LINK: https://youtu.be/4TezK-w9_W0
YouTube
Kafka System Design | Full Course | Design & Architecture
This video explains the design and architecture of Kafka with detailed analysis with proper real-life use cases.
---------------------------------------------------------------------------------------------------------------------------------------------…
---------------------------------------------------------------------------------------------------------------------------------------------…