Split Array into Consecutive Subsequences || Leetcode Daily Challenge
Vložit
- čas přidán 6. 09. 2024
- Link to the Split Array into Consecutive Subsequences code is given below =
github.com/The...
Link to the Github Repository Link for all the codes is given below ==
github.com/The...
Link to the Split Array into Consecutive Subsequences Problem ==
leetcode.com/p...
Link to the playlist =
• GFG Daily Problem
#leetcode #leetcodequestionandanswers #leetcodechallenge #leetcodesolution #leetcodedailychallenge #hashmap #problem #problemsolving
When watching your videos, I accidentally hit ‘like’ and never knew when
thank u for the explanation and congrats for ur 100 subscribers, BTW I became ur 100th subscriber!!😁😁
Thanks a lot it only became possible because of viewers like you thanks a lot
Nice explaination ji
Aur idhar ghusar denge apan 4 😂. Btw Explaination bariya tha guru🫡
i was trying to understand for a while very well explained
good confidence
Good
thanks...
thanks
I was trying in a wrong manner , great solution , btw ur voice is so sweet
Good Explain.
got the process that how to solve the question ...but didn't get the intutuion!!
i recommend you to please watch the video again and still if you phase the same issue or some other issue then we will definitely try to solve it.
Nice explanation ❤
Well Explained!👍🏻
kuchh smjh nahi aaya
nyc voice 😁
Samjh me aa gya Lekin solution ke pichhe ka logic bhi samjh diya karo
thanks for the feedback and sorry for the inconvenience occurred we will take care of it from next time.
how will i apperoach such solution during interviews :( lmao....
There is no predefined formula for any question even though this question can also be solved through many other ways it just depends how much you practice and the no. of questions you solve.
your voice is cute tho
can we connect on linkedIn?
tinder maang le bhai
It is mentioned in the description that "Determine if its possible to split nums into "ONE" or more subsequent Sequences
Now consider example 3, which says
Input: nums = [1,2,3,4,4,5]
Output: false
Explanation: It is impossible to split nums into consecutive increasing subsequences of length 3 or more.
But we still can split the above into "one" subsequent sequence which follows both the conditions like [1,2,3,4,5]???
where have you sent 4😂 . There is two times 4. Everything is correct in example 3. See it carefully bro!
each subsequence must be of minimum length of 3 and in increasing order, so in your example just 4 is left which is a subsequence of length 1 that's why false.
Yes surely we can convert the array (1,2,3,4,5) into a single subsequence but a single subsequence of 4 will still remain whose length is less than 1 so the answer false.
see you can form a single subsequence [1,2,3,4,5] but,but,but, the left over partitioned array will only be [4] so basically you cant just partition the array into a single increasing subsequence and say that the second partition which is left is having an increasing subsequence too.