Longest Increasing Subsequence NlogN | Leetcode

  Рет қаралды 1,933

Techdose

Techdose

Күн бұрын

Пікірлер: 6
@heybeachMIN
@heybeachMIN 5 күн бұрын
dmn, after your explanation it was so easy to understand, thanks a lot!!! :)
@liveurlife3166
@liveurlife3166 5 күн бұрын
Understood sir.
@apbh
@apbh 3 ай бұрын
Thank you!
@pratyushshrivastav8530
@pratyushshrivastav8530 5 ай бұрын
We can find out the length of the LIS but the elements involved in the LIS might not always be true with this solution. for input { 2,4,6,8,1} the LIS will be {2,4,6,8} but the nlogn solution will give us the LIS as {1,4,6,8} which is not correct. The nlogn solution can only be used when we require only the length of the LIS and not the elements involved in it.
@techdose4u
@techdose4u 5 ай бұрын
Yes correct. Its only for finding length of LIS.
@Divya-qt1cf
@Divya-qt1cf 5 ай бұрын
Wow 🎉
1, 2, 3, 4, 5, 6, 7, 8, 9 🙈⚽️
00:46
Celine Dept
Рет қаралды 36 МЛН
Yay, My Dad Is a Vending Machine! 🛍️😆 #funny #prank #comedy
00:17
330. Patching Array | Greedy | Array | Math | Why not Bitset Trick
23:19
Catalan Numbers - Numberphile
13:16
Numberphile
Рет қаралды 321 М.
5 Simple Steps for Solving Dynamic Programming Problems
21:27
Reducible
Рет қаралды 1,1 МЛН
Longest Square Streak in an Array | Leetcode 2501
18:11
Techdose
Рет қаралды 2,1 М.
Golden Ratio = Mind Blown!
9:46
DavidsonArtOnline
Рет қаралды 3,7 МЛН
Longest Increasing Subsequence
7:09
Tushar Roy - Coding Made Simple
Рет қаралды 443 М.
Separate Black and White Balls - Leetcode 2938 - Python
8:15
NeetCodeIO
Рет қаралды 10 М.
DP 43. Longest Increasing Subsequence | Binary Search | Intuition
16:27