Leetcode Weekly Contest 279 | Live Problem Solving | Striver

Поделиться
HTML-код
  • Опубликовано: 12 сен 2024
  • Check our Website:
    In case you are thinking to buy courses, please check below:
    Link to get 20% additional Discount at Coding Ninjas: bit.ly/3wE5aHx
    Code "takeuforward" for 15% off at GFG: practice.geeks...
    Code "takeuforward" for 20% off on sys-design: get.interviewr...?_aff=takeuforward
    Crypto, I use the Wazirx app: wazirx.com/inv...
    Take 750 rs free Amazon Stock from me: indmoney.oneli...
    Earn 100 rs by making a Grow Account for investing: app.groww.in/v...
    Linkedin/Instagram/Telegram: linktr.ee/take...
    ---------------------------------------------------------------------------------------------------------------------------------------------------- Every Sunday at 10 pm, Striver will be solving the Leetcode Weekly Contests Live at 10 pm. In the stream, he will be solving the problems with explanation, and live submitting them.
    Core Sheet With Solutions: takeuforward.o...
    SDE Sheet: takeuforward.o...
    Contest Link: leetcode.com/c...
    You can join us at telegram by clicking the telegram link here: linktr.ee/take...
    Linkedin/Instagram: linktr.ee/take...
    Second Channel: linktr.ee/take...

Комментарии • 37

  • @takeUforward
    @takeUforward  2 года назад +52

    Let me know in the comments, did you enjoy it? Also keeping the like target to be 2000 :P

    • @saniyatabassum3256
      @saniyatabassum3256 2 года назад

      Enjoyed US

    • @ankitsoni153
      @ankitsoni153 9 месяцев назад

      Bhaiya Hindi me bhi lao please

    • @niteshsaxena1066
      @niteshsaxena1066 5 месяцев назад

      This was the first contest solving video of yours which I watched
      And totally loved it

  • @pulkitjain5159
    @pulkitjain5159 2 года назад +9

    Amazing Video ,love the way you teach the most efficient approach so easily. I have learnt many things for CP from here only and will learn from this channel only beacuse you make things easier to understand wish you.
    You are amazing teacher and inspiration sir ,wish you joy , happiness and good health.
    Thank you very much sir for all your Efforts:).

  • @syedmohdzeeshanali8247
    @syedmohdzeeshanali8247 2 года назад +3

    Amazin Striver... You explained em perfectly as you do every week. It was fun :)

  • @shobhit351
    @shobhit351 2 года назад +6

    It was amazing!!!! pls keep doing them

  • @prateekgaur1172
    @prateekgaur1172 2 года назад +4

    Do people get hired by leetcode weekly contest of Amazon pay or today AWS one ? I participated in both couldn't solve more than 3 questions

  • @ankitnegi2524
    @ankitnegi2524 2 года назад +1

    I got TLE in one of the case of bitset what can be the issue?

  • @anshulsharma3137
    @anshulsharma3137 2 года назад +6

    Last solution blew my mind, amazing stream bro 👍

  • @thisIsCodeSquare
    @thisIsCodeSquare Год назад

    question why are we not considering the flip variable in other functions like count, all and one instead of just fix and unfix..?

  • @nehamohammadniyaz848
    @nehamohammadniyaz848 2 года назад +1

    Thanks a lot striver .. do the same for biweekly also

  • @anandabhinav
    @anandabhinav 2 года назад

    I don't know how anyone can come up with such a great solution, kudos to that person who suggested the soln to the last question. I doubt that it will be useful in interviews!

  • @atulkumarsingh6507
    @atulkumarsingh6507 2 года назад

    Just want to learn your approach of teaching to use it in interview,Amazing

  • @simplediys1209
    @simplediys1209 2 года назад +1

    Yes we really Enjoy your live sessions!! ❤❤

  • @pushankarmakar1783
    @pushankarmakar1783 6 месяцев назад +1

    Can we please start this series again

  • @ashishsarswat3136
    @ashishsarswat3136 2 года назад

    got runtime error in first question, submitted this same code.

  • @sonalipatro2087
    @sonalipatro2087 2 года назад

    hey, please share today's link .

  • @ravenarc3652
    @ravenarc3652 Год назад

    Extremely good teacher you are❤️❤️❤️❤️

  • @shivamehta6537
    @shivamehta6537 2 года назад

    Really enjoyed the stream got to learn so much

  • @harshitasingh7
    @harshitasingh7 2 года назад

    Please make a seperate playlist for this

  • @adarshpanigrahi7777
    @adarshpanigrahi7777 2 года назад

    Good explanation UQ's

  • @akshaysatpute2419
    @akshaysatpute2419 2 года назад

    Please upload dp soln also

  • @nimeshsingh6229
    @nimeshsingh6229 2 года назад +1

    nice bhaiya

  • @copilotcoder
    @copilotcoder 2 года назад

    Sir ap bengali ho?

  • @NeerajSharma-mz4es
    @NeerajSharma-mz4es 2 года назад

    Understood

  • @Knowledgefacttvtv145
    @Knowledgefacttvtv145 2 года назад

    Yes broooo

  • @sahilanand30
    @sahilanand30 2 года назад

    Best explanation

  • @koushik1261
    @koushik1261 2 года назад +1

    Bhaiya, in an average if I solve 3 questions in every LC contest, does it mean I'm ready for coding rounds in big companies?

    • @mohammedraheez3236
      @mohammedraheez3236 2 года назад +3

      Yes probably if you completed sde sheet also

    • @himagirishnd3286
      @himagirishnd3286 2 года назад

      @@mohammedraheez3236 what is sde sheet?

    • @thecoolestguy6721
      @thecoolestguy6721 2 года назад +1

      @@himagirishnd3286 Striver has a SDE sheet for placements/internships covering all the important topics and questions. You can check it out if you want to.

  • @thisIsCodeSquare
    @thisIsCodeSquare Год назад

    US understood

  • @niteshverma8281
    @niteshverma8281 Год назад

    you are king

  • @bhavyaaggarwal8558
    @bhavyaaggarwal8558 2 года назад +1

    Your Solution On Design Bitset give TLE
    Try This one
    class Bitset {
    public:
    string s="",t="";
    int cnt=0;
    int size=0;
    Bitset(int size) {
    for(int i=0;isize=size;
    }

    void fix(int idx) {
    if(s[idx]=='0')
    cnt++;
    s[idx]='1';
    t[idx]='0';
    }
    void unfix(int idx) {
    if(s[idx]=='1')
    cnt--;
    s[idx]='0';
    t[idx]='1';
    }
    void flip() {
    swap(s,t);
    cnt=size-cnt;
    }
    bool all() {
    return cnt==size;
    }
    bool one() {
    return cnt;
    }
    int count() {
    return cnt;
    }
    string toString() {
    return s;
    }
    };