Bit Manipulation Part 1| FREE DAILY LIVE CLASSES | Scaler Academy

Sdílet
Vložit
  • čas přidán 22. 08. 2020
  • You can access today's assignment here : www.scaler.com/test/a/bit-man...
    Check your score here - www.scaler.com/contest/bit-ma...
    To discuss any doubts or questions after today's class with the community, join Scaler Club (Join DS and Algorithm Discussions channel): chat.scaler.com/signup_user_c...
    "As we celebrate the 74th year of independence and move towards being an #AatmanirbharBharat, Scaler Academy calls all aspiring and existing developers to bridge the gap and be free of fear.
    This is our attempt at democratizing tech education with a new series of free and informative live classes. You can now learn coding concepts from those with skin in the game.
    You can attend the previous lecture here - • #AbIndiaKaregaCode
    If you know someone who would be interested, tag them in the comments.
    Because #AbIndiaKaregaCode"
    ----------------------------------------------------------------------------------------------------
    To get notified of all the new videos, subscribe - czcams.com/users/ScalerAcademy...
    Learn more about Scaler Academy - www.scaler.com/?Yo...
    Scaler Academy: Why we do, what we do - • Scaler: Why we do, wha...
    Follow us on Linkedin - / scaleracademy
    ----------------------------------------------------------------------------------------------------

Komentáře • 5

  • @ashishdukare1313
    @ashishdukare1313 Před 3 lety

    Love the last question. It nicely covered the importance of XOR and the set bit. Thank you so much. : )

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

    Awesome

  • @manishkumar-zs4xx
    @manishkumar-zs4xx Před 3 lety +1

    Kshitiz , If you have 3 & 7 instead of 3 & 5 in your last question , then your way of bifurcation in to two sets will be failed. Because 3 & 7 would come to first set , means you will have again two distinct number in first set.

  • @DeepakGupta-zz1vf
    @DeepakGupta-zz1vf Před 3 lety +4

    In checking the ith bit of the integer I guess it should be i-1

    • @nipu7580
      @nipu7580 Před 3 lety +4

      If you are starting the indexing from 1 then yes. If you are starting the indexing from 0 then i is correct.