Merge Intervals | Love Babbar DSA Sheet Q14 | Arrays | Leetcode 56

Sdílet
Vložit
  • čas přidán 17. 02. 2021
  • ✅ Useful Links
    𝐈𝐧𝐬𝐭𝐚𝐠𝐫𝐚𝐦 - / codingwithprakash
    𝐖𝐡𝐚𝐭𝐬𝐀𝐩𝐩𝐂𝐡𝐚𝐧𝐧𝐞𝐥 - whatsapp.com/channel/0029VaAC...
    𝐋𝐢𝐧𝐤𝐞𝐝𝐢𝐧 - / prakash-shukla
    SUBSCRIBE AND HIT BELL ICON TO CHECK MORE OF MY CONTENT
    czcams.com/users/PrakashShuklaVideo...
    Merge Intervals | Love Babbar DSA Sheet Q14 | Arrays
    𝐌𝐔𝐒𝐈𝐂 𝐂𝐑𝐄𝐃𝐈𝐓
    Track: Julius Dreisig & Zeus X Crona - Invisible [NCS Release]
    Music provided by NoCopyrightSounds.
    Watch: • Julius Dreisig & Zeus ...
    Free Download / Stream: ncs.io/InvisibleYCheckout Complete Crash Course at prakashshukla.com

Komentáře • 37

  • @CodingWithPrakash_
    @CodingWithPrakash_  Před 3 lety +6

    ✅ Useful Links
    𝐈𝐧𝐬𝐭𝐚𝐠𝐫𝐚𝐦 - instagram.com/codingwithprakash/
    𝐖𝐡𝐚𝐭𝐬𝐀𝐩𝐩𝐂𝐡𝐚𝐧𝐧𝐞𝐥 - whatsapp.com/channel/0029VaACtTa4tRrpDCQc5f44
    𝐋𝐢𝐧𝐤𝐞𝐝𝐢𝐧 - www.linkedin.com/in/prakash-shukla/

    • @ganpatsisodiya4507
      @ganpatsisodiya4507 Před rokem

      Aap ye kaise sikhe ?
      Aap konsi company me kam karte ho ?
      Please reply my 2 question bhaiya

    • @CodingWithPrakash_
      @CodingWithPrakash_  Před rokem +1

      Padhai krke sikha
      Mera background linkedin pe dekho

  • @hardikchaturvedi8036
    @hardikchaturvedi8036 Před 3 lety +3

    you are doing great job ,please keep making such great content

  • @prakashsingh1107
    @prakashsingh1107 Před rokem +1

    Apki videos sbse jyda smjgh aati h.......sbse achi trh smjhate h aap bhai......Thanks

  • @babishushma
    @babishushma Před rokem +1

    samajh aa gaya preakash bhaiya thanks keep it up👍👍

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

    Great explanation !!

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

    Nice Explanation 👍👍

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

    Great explanation !!! The way you explain solution is incredible.

  • @harshthakur9890
    @harshthakur9890 Před rokem +1

    thank you sir.

  • @ganpatsisodiya4507
    @ganpatsisodiya4507 Před rokem +1

    Mujhe sirf aapka hi samjaya samaj aata h
    keep going bhaiya

  • @RahulSingh-ze8mk
    @RahulSingh-ze8mk Před 2 lety +1

    nicely explained!!

  • @killerDevil3763
    @killerDevil3763 Před rokem +1

    simply i want to say that u have sound explainatiion skills, u r requested please make all vedios like this by animations presentation. it is very usie full to understand code better. bhai ese hi animation k through samaj me acha aata h. thank u for that

  • @factswithabhi27
    @factswithabhi27 Před rokem +1

    Great soln bro

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

    nicely explained bhaiya

  • @tanvitripathi5743
    @tanvitripathi5743 Před rokem +2

    Keep it up👍👍

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

    very nice content

  • @sharuk3545
    @sharuk3545 Před 3 lety

    good explanation

  • @AbhishekSingh-vl1dp
    @AbhishekSingh-vl1dp Před 10 měsíci

    nicely explain !!

  • @tarundhiman5011
    @tarundhiman5011 Před 3 lety +1

    best video on youtube

  • @terminator96
    @terminator96 Před rokem +1

    Sir can u explain the use of the funcn u used to sort in some more detail

    • @CodingWithPrakash_
      @CodingWithPrakash_  Před rokem

      U can learn insertion sort to understand that and more optimize is merge sort

  • @dilipsuthar4206
    @dilipsuthar4206 Před 3 lety +1

    Rock

  • @brainrelaxing6895
    @brainrelaxing6895 Před rokem +1

    Can u please tell how to write interval coordinate. I mean full code with coordinates

  • @satyanarayanmohanty3415
    @satyanarayanmohanty3415 Před 3 lety +1

    Great upload.

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

    That's great sir...You look old in the photo but in reality you are looking very young in the video 😅

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

    Can you make a video for this question: 1477. Find Two Non-overlapping Sub-arrays Each With Target Sum

  • @ANURAGSINGHBCG
    @ANURAGSINGHBCG Před 3 lety +1

    Hindi me swaad aa jata hai

  • @ridhigarg8613
    @ridhigarg8613 Před rokem

    I am having error in leet code.
    class Solution {
    public int[][] merge(int[][] intervals) {
    Arrays.sort(intervals,(a,b)-> Integer.compare(a[0],b[0]));
    Stack stack=new Stack();
    stack.add(intervals[0]);

    for(int i=1;istartpoint2)
    {
    int[] merge= new int[] {startpoint1,max};
    stack.add(merge);
    }
    else
    {
    stack.add(poparray);
    stack.add(intervals[i]);
    }

    }
    int[][] output=new int[stack.size()][2];
    for(int i=output.length-1;i>=0;i--)
    {
    int[] poparray=stack.pop();
    output[i][0]=poparray[0];
    output[i][1]=poparray[1];
    }
    return output;
    }
    }please can someone check and see

    • @janibasha8932
      @janibasha8932 Před 10 měsíci

      it should be if(endpoint1>=startpoint2)