Erichto please have a series for competitive programming algorithms. It would be really helpful. Nice video.
@rashmikiranpandit89624 жыл бұрын
You are so intellingent at the same time so humble and down to earth, thank you for sharing your knowledge. All your videos and blogs are extremely useful.
@TheSd3214 жыл бұрын
Thanks for making videos on specific topic. I liked your tutorials on DP and Binary search (On the general way to think where to use this algo.), I would love to see similar videos. Thanks, again!
@poorgang4 жыл бұрын
Omg i really need this. Thank you Erricto ❤️
@muhammadhashmi15714 жыл бұрын
The best thing about this is, you started from scratch and showed bitwise usage in iterative method. Outclass !
@sonamsodani32722 жыл бұрын
Thanks! The best explanation for bitwise operations and using bitmasking to solve subset problems.
@TurboWindex2 жыл бұрын
Thank you for taking some of your time to share your knowledge, I'm sure I speak for the whole community when I say it's very appreciated.
@radian12434 жыл бұрын
Great video as always, but nothing beats listening to your geometry lecture in person at the POI training camp :D
@happyhappyguy50344 жыл бұрын
@Hetan Thakkar sorry no
@radian12434 жыл бұрын
@Hetan Thakkar no, it wasn't filmed, just listened to as a way of preparation for the POI
@arkalykakash94754 жыл бұрын
Got here from LC daily challenge video. Man this is GOLD! Thank you so much for sharing this!
@d4got103 жыл бұрын
x % 2 is not exactly the same as x & 1. For non-negative number it is but if your number is negative x % 2 will give you a negative result. For example -5 % 2 = -1 and -5 & 1 = 1. Keep that in mind when you are dealing with negative numbers.
@angelmotta3 жыл бұрын
Thanks you so much Errichto!! Excellent explanation and thanks for all your comments to keep it simple to understand! Greetings from Peru!
@chengjinfei81392 жыл бұрын
This is the best tutorial for bitwise operation.
@prantasaha74264 жыл бұрын
I found many tricky problems with XOR in different contests. A lot can be done on this topic. So if you make a separate video on the tactics and ingenuity of XOR, we would benefit.
@Ashwanisharma-sf7ri4 жыл бұрын
Thankyou Kamil , detailed videoes on several topics from beginner to high level will be highly appreciated....
@Artificial_Intelligence_AI4 жыл бұрын
new subscriber because of how well you explained this!!! I'll start watching all your content and see what I can find :D
@d.d8984 жыл бұрын
your videos are the best one competitive programmer can as for!!!!
@anshjain2574 жыл бұрын
Beautifully explained man . Plz add more and more videos on bit manipulation.
@UnfunnyXavier4 жыл бұрын
*I* *like* *his* *accent*
@Errichto4 жыл бұрын
Well... thanks, I guess :D
@a.syndeed3 жыл бұрын
I needed an entire hour to understand the code, but now I feel like I have the power of god (exactly what a stupid person usually thinks about themself). Thank you Errichto.
@jazzhippie38783 жыл бұрын
Errichto!!!! The Khabib of programming!
@gurisingh912982 жыл бұрын
Sir please have a complete course/series for competitive programming(including data structures and with practice questions) . It would be really helpful.
@goni28674 жыл бұрын
Thank you very much! I am preparing for the informatics olympiad and I was searching for exactly these things for a long time.
@ManojKumar-hj7fh4 жыл бұрын
Hello Errichto Thank you for all the knowledge. Keep making more videos on Data structures and algorithms.
@josephwong28324 жыл бұрын
Thanks for the videos on bit manipulation Errichto!!
@juliap.56103 жыл бұрын
Thank you so much 🥰🥰 I finally understand how the algorithm to print the binary representation works! You're a such a good teacher
@shreyasingh5423 жыл бұрын
Isn't he lovely? Great explanation straight to the point unlike others💛
@Exzone4 жыл бұрын
Amazing video! Amazing explanation. Maybe you could do a video on bitwise interesting problems, like, in an array where elements repeat find one that doesnt repeat etc. I enjoy watching your videos
@Zzznmop4 жыл бұрын
Exzone check out Errichto2 channel live-streams, he covers the whole leetcode “interview prep” series in one, which contains many similar problem types to the one you mention
@RahulPal-mz4oj4 жыл бұрын
@@Zzznmop Can u please provide the link to that video where he explains interview prep questions
@vishvish3 жыл бұрын
Thanks for this, really helpful video. I found the ending on subsets slightly confusing, and did not understand it, but everything else was great!
@suryaakella45084 жыл бұрын
badly needed this video thanks a lot
@1moreredcoder2 жыл бұрын
lotes of love sir please upload all algorithm 💥💥
@suryanshgoel70623 жыл бұрын
Great Work Sir...Really Appreciate your work...Please keep on uploading.
@pratyakshabais7599 Жыл бұрын
suggestion : plz put playlist link as well in the description
@shreyashvardhan57774 жыл бұрын
your tutorials are awesome !! please make more of them .
@tzhou33014 жыл бұрын
This is great. Looking forward to the next one!
@faridgadzhiev14404 жыл бұрын
Thank you, Errichto, very much appreciated!
@codecaine2 жыл бұрын
Excellent examples
@nassimnedjar20634 жыл бұрын
a good tutorial , good job Errichto
@jimmyshenmusic4 жыл бұрын
Thanks for your posting. It is excellent as always.
@fbru024 жыл бұрын
Can't wait for next one!
@jean-michelcid95944 жыл бұрын
last algo was amazing.
@mani_naik4 жыл бұрын
Eager for the bitsets video
@wannabe9454 жыл бұрын
Thanks, man. Waiting for the next part. :)
@PoCTu854 жыл бұрын
This was very informative. Good job!
@antonykelvin66454 жыл бұрын
Great Video! Waiting for the next lecture :D
@danialbagdatuly56184 жыл бұрын
We need 2 part Erricto)!
@bhavana65443 жыл бұрын
Sir...thank you very very much for the great help that you have provided through these videos . I feel very sad that I couldn't get to these videos earlier. Anyway . I love your videos n pattern of teaching . Thanks again a lot❤️
@jaybabaofficial3 жыл бұрын
Very very thank you sir for this video I just subscribed your channel after seeing this video
@rafayeathossain87314 жыл бұрын
nice work,love it
@krishshah39743 жыл бұрын
This was so nicely explained! Thank you so much. :)
@raselhasan24334 жыл бұрын
Thanks for this tutorial, as I am a beginner it helped me a lot, Waiting for your best lectures/
@bikideka78803 жыл бұрын
I found your binary to decimal converter technique very interesting 3:20
@giant3dorangutanmodel893 жыл бұрын
This was extremely helpful, thank you
@wesammustafa90044 жыл бұрын
Amazing explanation, thank you so much
@naturalblisshealers55763 жыл бұрын
Nice explanation
@ayushkumar-wt2wm4 жыл бұрын
Big fan sir...Very nice explanation
@shivamanand89984 жыл бұрын
Very well explained Thank You
@lepord8334 жыл бұрын
Thankyou so much , It's really helpful
@ShivamSingh-vu8vq4 жыл бұрын
Thanks , I was looking for this
@ishanshah33094 жыл бұрын
Programming Legend!
@martjao4 жыл бұрын
Awesome video!, I would like to see more videos about DP :D
@rajarshibose51224 жыл бұрын
Thank you so much, eagerly waiting for part 2
@fuadalhasan17844 жыл бұрын
Wow,... Really nice video.. I Need this kind of video❤
@bishnuprasadnayak95204 жыл бұрын
well you said there is a recursive version of sum of subsets, but first of all i'm not able to come up with a recurrence relation of just finding all the subsets of a given set, i know it's done using recursion and backtracking but just for the mathematical intuition if you can provide with that recurrence relation???
@tanvirhasan49124 жыл бұрын
Before I even watch this....Thank you.
@mxschumacher4 жыл бұрын
"Appending at the beginning" is prepending
@Zzznmop4 жыл бұрын
Max Schumacher does appending necessarily imply front or back of a list? I don’t know if it does
@MojahooProducer4 жыл бұрын
zach p ya it does, appending is defined in programming as an attachment to the end of some list or other data structure (like a queue)
@Errichto4 жыл бұрын
Thanks, good to know.
@nikhillondhe58154 жыл бұрын
Yes! Much needed
@ascyrax85074 жыл бұрын
thanks a tonne..HOPE U KEEP GETTING ENOUGH FREE TIME TO MAKE MORE VIDEOS LIKE THIS...REALLY HELPFUL FOR NOOB COMPETITIVE PROGRAMMERS LIKE ME.
@Rahul-ys3yh4 жыл бұрын
This video is treasure!
@seanyong33993 ай бұрын
can someone explain the last few minutes? what exactly is his code doing? i dont understand why iterating through all the bits and comparing it with the mask will give u the number of subsets? pls explain tqvm!
@ZERINSHAIMAMEEM4 жыл бұрын
Thanks a lot Errichto!!
@mohammedasif79223 жыл бұрын
Thanks! Errichto? I mean Kamil
@Jayanthsattineni4 жыл бұрын
I have a doubt... Is predefined stl library functions such as sum or sort are better or manual algo is better for completive programming?
@adarshverma0134 жыл бұрын
use stl that will save your time and will be more efficient than your written algo
@rajg75923 жыл бұрын
niesamowity!!!!
@Setofhornsandahalo4 жыл бұрын
Hey, thanks for the tutorial. What is the point of doing the for loop on 7:02. Are you looking for the similar x values in the 0...30?
@ask41444 жыл бұрын
thank you Errichto! where could I find exercises like the last one?
@Garentei4 жыл бұрын
Would love to see some bitmask dp later on too :D thanks
@mechashadowx4 жыл бұрын
OMG, that was amazing.
@BedoEbied4 жыл бұрын
Is it possible to get familiar with this??
@kevinje39713 жыл бұрын
thanks, would you recommend books about this topics particularly?
@suhailakhtar17074 жыл бұрын
You are the best.
@avatarek1994 жыл бұрын
Got one question what is a[i], ok I know its the i-th element, though where is a defined ?
@shivambansal12504 жыл бұрын
Exactly what i was searching for?
@Danny-0073 жыл бұрын
I think we assume a as array of n elements....
@fahimashab15594 жыл бұрын
Just Awesome!!!
@sharadVlogs014 жыл бұрын
valuable video
@lovleshbhatt77974 жыл бұрын
Erichto brother u r writing without seeing down to screen , howzzz u do that buddy... Awesome guidance and teaching from erichto..
@ElifArslan-l9g3 жыл бұрын
thank you so much
@rohanthube29204 жыл бұрын
Very helpful🤟
@chillerop51102 жыл бұрын
I didn't get how we calcuate the subset values using that loop
@ShubhamPandey-un2sy4 жыл бұрын
what does n denote here? Number of bits which are to be used or number of elements in the array for which subset problem is to be solved.
@vudo10134 ай бұрын
thank u so much❤
@jameysiddiqui69103 жыл бұрын
in in 32 bit integer if MSB is 1 and left shift is done MSB is lost same as if right shift is done and LSB is 1
@shreerammohanty15514 жыл бұрын
Can you please suggest the software which you use to create these kind of videos???? Like your own video + the writing thing at one page???
@diegonayalazo3 жыл бұрын
Thanks!
@Digimonfusion2804 жыл бұрын
Where do you learn this? I am making computer science and have never even heard of bitwise operations
@manilalgorai74044 жыл бұрын
Thank you.
@gmmkeshav4 жыл бұрын
sir is bitwise shift valid for negative value
@acenitd91984 жыл бұрын
What is the time complexity of the algorithm used ?
@753951461004 жыл бұрын
How do you decide that this problem can be solved using bit operation..I know for basic like if we see xor ya or in question we try to use bitwise but how to get intuition for other questions where we don't see any pattern of using bits??
@Errichto4 жыл бұрын
Just like for any technique: solve a few problems in this topic and then you will start recognizing patterns. Things related to sets and intersections are often solved with bitmasks/bitsets.
@Mike-mw1fu4 жыл бұрын
How should I handle negative number with bitwsie Operation, Errichto?
@Errichto4 жыл бұрын
What do you want to do with negative values? They are represented in binary system in computer so it's possible to compute their bitwise XOR, etc., but what do you want to achieve this way?