L-9 leetcode 621. Task Scheduler | leetcode daily challenge | DSA | Shashwat Tiwari Hindi

preview_player
Показать описание
Problem Name:
525. Contiguous Array

Problem Statement:
You are given an array of CPU tasks, each represented by letters A to Z, and a cooling time, n. Each cycle or interval allows the completion of one task. Tasks can be completed in any order, but there's a constraint: identical tasks must be separated by at least n intervals due to cooling time.

​Return the minimum number of intervals required to complete all tasks.

Problem link:

Complete Balanced Trees Playlist:

Java Plus DSA Placement Course Playlist:

Java Plus DSA Sheet:

Notes:

Telegram Link:

Ultimate Recursion Series Playlist:

Samsung Interview Experience:

Company Tags:
Facebook | Amazon | Microsoft | Netflix | Google | LinkedIn | Pega Systems | VMware | Adobe | Samsung

Timestamp:
0:00 - Introduction

#ShashwatTiwari #coding​​ #problemsolving​
Рекомендации по теме
Комментарии
Автор

Nice utilisation of Java concepts ❤ thanks for giving wonderful solution in java

abhisheksde
Автор

I have seen other solutions in the leetcode ! but this makes more sense ! to make use of the Data Structure ! also this is the finest explanation ! Can you please do it in English ! I can understand Hindi ! but I have to rewatch to understand few things !

akhilkarumanchi
Автор

Thanks !! Excellent dry run before you wrote the code!! Awesome explanation as well

priyanshkumar
Автор

Sir jo naye videos aye hai aur jo leetcode questions relate hote hai use topic wise playlist me arrange karke dijiye ga ye hi playlist mai please

Elitevisioner
Автор

Sir please please upload further videos 🙏🙏🙏

Simplesimpler
Автор

could never think of pq and q very less used so get out of mind. Knew solution but coudn't code

pulkitjain
Автор

sir is there any other way of solving this questions?

agambedi