Leetcode 1004 | Maximum consecutive ones III | 16th from LC 75 | 90 days SE prep

Поділитися
Вставка
  • Опубліковано 12 вер 2024
  • Question Details - • DSA Phir se with Sumee...
    My instagram - / sms_pec
    Scaler School of Technology Link - bit.ly/sst-fro...
    About the Video -
    I am simulating a scenario to create content. I will be preparing for a SE job across the next 90 days or so, till Mar 31 2024. I have created a preparation plan for that. Let's do it together.
    This is 16th from Leetcode 75
    Question number is Leetcode 1004.
    Question name is "Maximum consecutive ones III"
    Don't forget to share your progress with me here - / @sumeet1188
    I am doing the following work these days
    1. DSA Phir se: • DSA Phir se with Sumeet
    2. Dream and Build with Sumeet: / @dnb-with-sumeet
    3. JEE Prep: / @sumeet-malik-for-11th...
    4. Powerlifting: / sms_pec
    5. Journal of progress:
    / @sumeet1188
    My instagram, linkedin and twitter are also pretty interesting.
    LinkedIn: / sumeet-malik-ab650410
    Twitter: / sumeetmalik17
    Instagram: / sms_pec
    Lift weights. Be Curious. Dream and Build,
    Sumeet

КОМЕНТАРІ • 9

  • @dayashankarlakhotia4943
    @dayashankarlakhotia4943 8 місяців тому +1

    public longestOnes(int[]nums,int k){
    int ans=0;
    for(int l=0,r=0;r

  • @jatinshrivastava4231
    @jatinshrivastava4231 2 місяці тому

    Thank you very much.. great explanation.

  • @jaydoshi6824
    @jaydoshi6824 5 місяців тому

    BHAI BOHOT SAHI PADHA LETE HO AAP 😃😀LOVE FROM AHMEDABAD 🧡🧡

  • @zainulabdin-h7r
    @zainulabdin-h7r 6 місяців тому

    thanks teacher

  • @utkarshsinghchouhan8819
    @utkarshsinghchouhan8819 8 місяців тому +1

    Sir aap conecpt ko dimag me bilkul ghusa dete ho 🫡

  • @mayankshakya9200
    @mayankshakya9200 8 місяців тому

    Sir agar ye sliding window padna hai specially to kaha se padu aapne is topic ko nahi padaya hai aapke dsa level me

    • @Pepcoding
      @Pepcoding  8 місяців тому

      Level2 ke hashmap heap ke question mei ye trick dikh jaegi. Common hai.

    • @utkarshsinghchouhan8819
      @utkarshsinghchouhan8819 6 місяців тому

      Level 2 Hashmap and heap sir called the technique "Acquire and Release strategy"

  • @AkashiansTrader
    @AkashiansTrader 6 місяців тому

    Thanks 🙏 sir