Split Array into Consecutive Subsequences || Leetcode Daily Challenge

Sdílet
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

Komentáře • 32

  • @_sonu_
    @_sonu_ Před 2 lety +5

    When watching your videos, I accidentally hit ‘like’ and never knew when

  • @GagandeepSingh-cy8jp
    @GagandeepSingh-cy8jp Před 2 lety +5

    thank u for the explanation and congrats for ur 100 subscribers, BTW I became ur 100th subscriber!!😁😁

    • @Lalit_Samiksha
      @Lalit_Samiksha  Před 2 lety

      Thanks a lot it only became possible because of viewers like you thanks a lot

  • @sourabhjaipurwala3117
    @sourabhjaipurwala3117 Před rokem +2

    Nice explaination ji

  • @volkangaming5214
    @volkangaming5214 Před 2 lety +6

    Aur idhar ghusar denge apan 4 😂. Btw Explaination bariya tha guru🫡

  • @VinayShelke-pl1fv
    @VinayShelke-pl1fv Před 2 lety +1

    i was trying to understand for a while very well explained

  • @Jitendrakumar-gb7cn
    @Jitendrakumar-gb7cn Před 2 lety +2

    good confidence

  • @vivekgagrani8288
    @vivekgagrani8288 Před 2 lety +1

    Good

  • @mandarparekh8959
    @mandarparekh8959 Před 2 lety +3

    thanks...

  • @laxmikantsaraswat6319
    @laxmikantsaraswat6319 Před 2 lety +1

    thanks

  • @pritishpattnaik4674
    @pritishpattnaik4674 Před 2 lety +1

    I was trying in a wrong manner , great solution , btw ur voice is so sweet

  • @dipakrana8539
    @dipakrana8539 Před 2 lety +1

    Good Explain.

  • @deveshdubey6776
    @deveshdubey6776 Před 2 lety +2

    got the process that how to solve the question ...but didn't get the intutuion!!

    • @Lalit_Samiksha
      @Lalit_Samiksha  Před 2 lety

      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.

  • @rachitbadoni5717
    @rachitbadoni5717 Před 2 lety +2

    Nice explanation ❤

  • @aka_akaran
    @aka_akaran Před 2 lety +1

    Well Explained!👍🏻

  • @_Nikhil_Kaushik
    @_Nikhil_Kaushik Před rokem

    kuchh smjh nahi aaya

  • @BMEMdKaifAli
    @BMEMdKaifAli Před 2 lety +1

    nyc voice 😁

  • @deepeshgrover600
    @deepeshgrover600 Před 2 lety +1

  • @devendrabhuarya4917
    @devendrabhuarya4917 Před rokem +1

    Samjh me aa gya Lekin solution ke pichhe ka logic bhi samjh diya karo

    • @Lalit_Samiksha
      @Lalit_Samiksha  Před rokem

      thanks for the feedback and sorry for the inconvenience occurred we will take care of it from next time.

  • @ankitnishad1229
    @ankitnishad1229 Před 2 lety +1

    how will i apperoach such solution during interviews :( lmao....

    • @Lalit_Samiksha
      @Lalit_Samiksha  Před 2 lety

      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.

  • @Videorts
    @Videorts Před 2 lety +1

    your voice is cute tho

  • @ayushsingh5951
    @ayushsingh5951 Před 2 lety

    can we connect on linkedIn?

  • @gopisaikrishnavuta5565
    @gopisaikrishnavuta5565 Před 2 lety +1

    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]???

    • @AtulKumar-gi3lv
      @AtulKumar-gi3lv Před 2 lety +1

      where have you sent 4😂 . There is two times 4. Everything is correct in example 3. See it carefully bro!

    • @rachitsen
      @rachitsen Před 2 lety +3

      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.

    • @Lalit_Samiksha
      @Lalit_Samiksha  Před 2 lety +1

      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.

    • @player-te8tf
      @player-te8tf Před 2 lety +2

      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.