Concepts of Bitmasking

  Рет қаралды 49,961

Techdose

Techdose

Күн бұрын

Пікірлер: 66
@ir2001
@ir2001 3 жыл бұрын
I'm so glad to have come across your channel. Your way of organising the content, structuring a lesson, presentation, ... that too over a seemingly complicated topic like DP to make it feel so simple and elegant... This channel is a goldmine!
@techdose4u
@techdose4u 3 жыл бұрын
Great :)
@bravitheja1142
@bravitheja1142 3 жыл бұрын
practiced after watching this amazing video. import math str1 = ['A','B','C'] res=[] for j in range(0,int(math.pow(2, len(str1)))): temp = "" for i in range(len(str1)): if j & 1
@techdose4u
@techdose4u 3 жыл бұрын
Great :)
@ujeshnada7281
@ujeshnada7281 3 жыл бұрын
Since a long time, I want to learn Bitmasking, I suddenly found and learn whole things. Thanks making this video. if possible, Make one more video related problem solving with bit mask. Best thing I learn is blocking the bits... my god so easy to understand..
@techdose4u
@techdose4u 3 жыл бұрын
:)
@Amitkumar-nw5mt
@Amitkumar-nw5mt 3 жыл бұрын
Lal phul Pila phul ! your explaining technique is beautiful!!!!!!!!
@techdose4u
@techdose4u 3 жыл бұрын
😂
@hmswrth
@hmswrth 3 жыл бұрын
Dude you should have like a billion subs. Great content.
@techdose4u
@techdose4u 3 жыл бұрын
Thanks 😊
@soumakpoddar4372
@soumakpoddar4372 3 жыл бұрын
The best explanation of the subset problem..........🔥🔥
@techdose4u
@techdose4u 3 жыл бұрын
Thanks
@anubhavsethi3416
@anubhavsethi3416 3 жыл бұрын
Insightful and very helpful !
@techdose4u
@techdose4u 3 жыл бұрын
Thanks 😊
@wentingsong9435
@wentingsong9435 3 жыл бұрын
Great method, very intuitive!!
@techdose4u
@techdose4u 3 жыл бұрын
Thanks ❤️
@rosonerri-faithful
@rosonerri-faithful 3 жыл бұрын
very nice video Surya Sir, want more of videos related to bit manipulation👏👏👏👏
@techdose4u
@techdose4u 3 жыл бұрын
👍🏼
@hasanimrul440
@hasanimrul440 3 жыл бұрын
Very informative video. Thank you so much!
@techdose4u
@techdose4u 3 жыл бұрын
Welcome 😀
@sakshamkapoor5905
@sakshamkapoor5905 3 жыл бұрын
Lovely video, please do dp + bitmasking next, thanks!
@techdose4u
@techdose4u 3 жыл бұрын
Sure
@visheshkumargautam1683
@visheshkumargautam1683 Жыл бұрын
precise explanation thanks ,you earned a sub.
@dayanandraut5660
@dayanandraut5660 3 жыл бұрын
very helpful video. thank you so much
@techdose4u
@techdose4u 3 жыл бұрын
Welcome
@algorithmo134
@algorithmo134 3 жыл бұрын
Omg your back!!! More leetcode video please!
@techdose4u
@techdose4u 3 жыл бұрын
Sure
@suyashmisra7406
@suyashmisra7406 3 жыл бұрын
i followed your channel while i was learning to code and i recommended it to all my friends in college, especially to ones who were trying for SDE jobs but were not from CS or IT . I am curious as to what software (and special hardware,if any) you use for writing on screen, I'd love to try it once. Anyway , keep up the good work!
@SauravKumar-yp1fy
@SauravKumar-yp1fy 2 жыл бұрын
For anyone who tried the last question using the code in the video, In the line : if(mask &(1
@aswinkrishnap1060
@aswinkrishnap1060 2 жыл бұрын
correctumundo....
@Varuns36
@Varuns36 3 жыл бұрын
Amazing content quality ❤️❤️❤️❤️❤️❤️
@techdose4u
@techdose4u 3 жыл бұрын
:)
@gourav.barkle
@gourav.barkle 3 жыл бұрын
Great content like always.
@bloody9162
@bloody9162 3 жыл бұрын
Small question the bitwise & operation is checking for equality with 1, shouldn't it be checking for inequality with 0? For the bits other than LSB the result of bitwise & would be powers of 2. Superb explanation as always !!
@elanchezian4452
@elanchezian4452 3 жыл бұрын
When I think of logic, I am getting only the brute force logic. But if I see the answer I am understanding the logic and if any similar kind of problems occurs, I am able to use this logic in some other problems. But I am never getting the optimal logic so far by not seeing the solution. I am only getting the brute force logic. Now I feel like memorizing the logics but problem solving means deducing the solution on the spot, right? without having seen the similar problem before. I dont understand what I am doing, is it problem solving or memorizing the logics? However in any interviews, the questions will be somehow new only. It is not guaranteed that I will get only the questions which I have practised. Please suggest me on this.
@techdose4u
@techdose4u 3 жыл бұрын
You need more practice
@karankanojiya7672
@karankanojiya7672 2 жыл бұрын
Excellent!
@Abhishek-sz8wg
@Abhishek-sz8wg 11 ай бұрын
8:14 there will be 8 subsequence not subset ,am i correct ?
@RahulKumar-wv4ti
@RahulKumar-wv4ti 3 жыл бұрын
What will be the time complexity if we do this using recursion? 2^N. If yes then bit masking is slower?
@impatientgaming9868
@impatientgaming9868 8 ай бұрын
Good Explanation, but i don't get why need to left shift after creating 2^n-1 bitmasks, cant we check jth bits of bitmask itself, if its 1 then take arr[j]
@shreyakjain9692
@shreyakjain9692 3 жыл бұрын
Great content. Kindly do dp + bitmasking, thanks
@techdose4u
@techdose4u 3 жыл бұрын
DP + BitMasking is easier to teach in LIVE class. I have covered it in my batch :)
@shreyakjain9692
@shreyakjain9692 3 жыл бұрын
@@techdose4u ok then btw thnx for replying
@ShaliniNegi24
@ShaliniNegi24 2 жыл бұрын
Thank you :)
@Adilakshmi_Nagiri
@Adilakshmi_Nagiri 3 жыл бұрын
Hi Surya, Can you please explain wiggle sort II problem.
@techdose4u
@techdose4u 3 жыл бұрын
👍🏼
@The-fc1fi
@The-fc1fi 3 жыл бұрын
Please make video remove duplicate in a string using recursion full explanation
@techdose4u
@techdose4u 3 жыл бұрын
👍🏼
@RamSingh-zp1nl
@RamSingh-zp1nl 3 жыл бұрын
Some of friends who works in service based company have got more compensation than the who are working in product based company......they have increased their compensation while switching by getting counter offer....they have switched to service based company only...what's the use of working in product based company
@techdose4u
@techdose4u 3 жыл бұрын
No need to work in product based company if you wanna rest in peace :)
@Bhushan1234able
@Bhushan1234able 3 жыл бұрын
Your videos are good, but you missed the part of explaining from mask size 0. what could be the case if our current mask is 0 ? how the j will change the mask. Just a thing which I didn't get.
@schan263
@schan263 Жыл бұрын
I cannot find the DP + bitmasking video from the playlist.
@techykush7192
@techykush7192 3 жыл бұрын
Sir which application you used to making the video . Can you tell me the name sir
@onestopplacement4917
@onestopplacement4917 3 жыл бұрын
S sir pls say the application name?
@mnnitianexplains7325
@mnnitianexplains7325 3 жыл бұрын
@@onestopplacement4917 pta chale to mere ko msg kr dena okk bro
@onestopplacement4917
@onestopplacement4917 3 жыл бұрын
@@mnnitianexplains7325 plz tell me in english bro
@mnnitianexplains7325
@mnnitianexplains7325 3 жыл бұрын
@@onestopplacement4917 right i want to say that if any time u get name of appilcation used by tech doze so u can tell me
@harshalgarg1149
@harshalgarg1149 3 жыл бұрын
Thanks
@Shanto26
@Shanto26 2 ай бұрын
Best
@techdose4u
@techdose4u 2 ай бұрын
:)
@KeshariPiyush24
@KeshariPiyush24 3 жыл бұрын
Please please please make a solution video on *Leetcode 1486* it is categorised as an easy problem because expected time complexity is O(N) but using some bitmanipulation O(1) solution exists and it is very complex....so please make a video on it🥺🥺
@muttanagendrakumar2771
@muttanagendrakumar2771 3 жыл бұрын
I have to rearrange the numbers in a string in a decreasing order Input: 3times4 is 12 Output:12times4 is 3 Input: Exam23 is Endby35 tomorrow98 Output: Exam98 is Endby35 tomorrow23 Know the solution, take me out..
@sharuk3545
@sharuk3545 3 жыл бұрын
Make more videos sir. Its awesomeeeeee
@techdose4u
@techdose4u 3 жыл бұрын
Sure.
@tinal3991
@tinal3991 Ай бұрын
I have a suggestion, make the screen more clear, it's too much and too colorful. cheers
@techdose4u
@techdose4u Ай бұрын
:o
Longest common substring | Dynamic programming
20:47
Techdose
Рет қаралды 69 М.
DP with Bitmasking #1
19:19
Kartik Arora
Рет қаралды 43 М.
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
Mastering Dynamic Programming - How to solve any interview problem (Part 1)
19:41
Bitwise Operations & Bit Masking
13:08
Learn Learn Scratch Tutorials
Рет қаралды 38 М.
Check if a Parentheses String Can Be Valid | Leetcode 2116
25:49
Minimum edit distance | Dynamic programming | Backtracking
28:52
C++ Bitsets in Competitive Programming
15:35
Errichto Algorithms
Рет қаралды 122 М.
7 Outside The Box Puzzles
12:16
MindYourDecisions
Рет қаралды 180 М.
Bit Manipulation and Bitmasks in C#
14:10
Otter Knight
Рет қаралды 3,2 М.
15 Bit masking in embedded c
11:49
Smart Logic Academy
Рет қаралды 41 М.
The Only Unbreakable Law
53:25
Molly Rocket
Рет қаралды 354 М.
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН