Sum of Bit Differences Among All Pairs | Bit Manipulation Interview Questions

  Рет қаралды 12,466

Pepcoding

Pepcoding

Күн бұрын

Пікірлер: 43
@srinivasak4087
@srinivasak4087 Ай бұрын
nicely explained , Thank you sir
@gautamjangir8927
@gautamjangir8927 2 жыл бұрын
Best explanation in the entire youtube....Thanks
@Pepcoding
@Pepcoding 2 жыл бұрын
Glad you liked it! Keep learning. And for better experience, visit nados.io, where you will get well curated content and career opportunities.
@play-chess
@play-chess 2 жыл бұрын
बहुत वीडियो देखा इसके लिए, कोड तो मिल गया पर कोई सही से समझा नही पा रहा था, सब खाली कोड पढ़ रहे थे, इस वीडियो में समझ आया, O(n) कैसे हो गया 😊 धन्यवाद सर जी !
@Pepcoding
@Pepcoding 2 жыл бұрын
बेहतर अनुभव और सुव्यवस्थित सामग्री के लिए - nados.io पर जाएँ और सीखना शुरू करें
@shashwatkumar6965
@shashwatkumar6965 10 ай бұрын
4:50 the last x 2 is actually x 2!, because it counts all permutations of the 2 elements in the pair since order does not matter.
@udaysabbisetty9509
@udaysabbisetty9509 2 жыл бұрын
Brilliant Explaination ,Thank you sumeet sir
@somnathchakraborty1965
@somnathchakraborty1965 3 жыл бұрын
Great Explaination sir..
@Pepcoding
@Pepcoding 3 жыл бұрын
Thankyou beta! I am glad you liked it. I hope that you are watching till the end and trying to understand what, how, and especially why of the problem. If you like our efforts, will you like to write a few words about us here (www.quora.com/What-are-the-good-websites-to-learn-data-structures-and-algorithms )
@sportsbeauty4350
@sportsbeauty4350 3 жыл бұрын
Very easily understood... Thankyou sir..
@Live-hh6li
@Live-hh6li 3 жыл бұрын
Thank You
@Pepcoding
@Pepcoding 3 жыл бұрын
You're welcome
@surajsingh-sm7qx
@surajsingh-sm7qx 2 жыл бұрын
very very useful video
@ajayjangid1164
@ajayjangid1164 2 жыл бұрын
great explanation, just loved it!, Thank you sirji
@geeky_world
@geeky_world 3 жыл бұрын
super explanation....Thanks !
@Pepcoding
@Pepcoding 3 жыл бұрын
Glad it was helpful! and If you like our efforts, please upvote the comments written by the students about Pepcoding here (www.quora.com/What-are-the-good-websites-to-learn-data-structures-and-algorithms )
@ujjawalgupta23
@ujjawalgupta23 2 жыл бұрын
Great Explanations!! Thank you very much Sir
@rohitshinde8478
@rohitshinde8478 3 жыл бұрын
Thank you sir for this amazing explaination
@Pepcoding
@Pepcoding 3 жыл бұрын
Keep learning and keep growing😊 If you like our efforts, please upvote the comments written by the students about Pepcoding here (www.quora.com/What-are-the-good-websites-to-learn-data-structures-and-algorithms )
@rahulbhatia3075
@rahulbhatia3075 4 жыл бұрын
Amazing sir, bhot maza aaya🔥
@ankitmishra399
@ankitmishra399 3 жыл бұрын
thank u sir orz
@Pepcoding
@Pepcoding 3 жыл бұрын
Most welcome, for better experience and well organised content visit - nados.pepcoding.com
@devankdubey6657
@devankdubey6657 2 жыл бұрын
sircan you explain 1
@anckoor
@anckoor 3 жыл бұрын
very nice
@Pepcoding
@Pepcoding 2 жыл бұрын
for better experience, visit nados.pepcoding.com, where you will get well curated content and career opportunities.
@dpxy1599
@dpxy1599 2 жыл бұрын
गर्दा 🔥
@nikhilmusale4730
@nikhilmusale4730 Жыл бұрын
Which algorithm is he suggesting? Something like kurnical algorithm, can someone clear it out (2:12 min)
@Pepcoding
@Pepcoding Жыл бұрын
kernighan algorithm
@ayaskanta100
@ayaskanta100 4 жыл бұрын
gfg mein solution galat hai apne sahi bataya
@akatsuki1363
@akatsuki1363 3 жыл бұрын
Muze pahile laga tha bit manipulation bahot hard hoga pr abhi jab playlist khatam hone pe ayi he to easy lag raha thanks for efforts sir🔥❣️
@Pepcoding
@Pepcoding 3 жыл бұрын
Thank you so much and If you like our efforts, please upvote the comments written by the students about Pepcoding here (www.quora.com/What-are-the-good-websites-to-learn-data-structures-and-algorithms )
@abhinavgupta3913
@abhinavgupta3913 4 жыл бұрын
sir ek cheez clear nhi ho rhi ...hume countOn aur countOff ko long mei lena kyu pd rha h.....countOn ki value humesha arr.length se km ya equal honi chaiye ...or arr.length to integerRange mei hi rhega humesha
@muditjain7994
@muditjain7994 3 жыл бұрын
Jab multiplication CPU register level pe perform hoti hai tab multiplication result temporarily operand me store kia jata hai. For example: A = B * C; when B will be multiplied with C then the result will be temporarily held in B then that temporary value will be copied in A and the original value will be set in B. So, if B * C exceeds Integer Range and could not be stored in B, the system gives an error. So, its better to take LONG and then typecast the result to INT after modulo 10^9 + 7 if the return type is INT. Hope this helps.
@adarshrai9516
@adarshrai9516 4 жыл бұрын
Sir apka speed pakd nhi paa raha hu time lag raha hai abhi foundation pe hi hu Foundation k saare questions solve kar raha hu
@Pepcoding
@Pepcoding 4 жыл бұрын
Lage rahie. Jaldi Jaldi kijie.
@DarshanAdarkar-p3e
@DarshanAdarkar-p3e 9 ай бұрын
ye 31 bits ka kyaa logic hai ?
@elasingh3151
@elasingh3151 3 жыл бұрын
This solution doesnt get pass in GeeksForGeeks
@mridulgupta9841
@mridulgupta9841 2 жыл бұрын
use modulo there and store ans in long long int, it will work fine.
@kunalkheeva
@kunalkheeva 2 жыл бұрын
well explained, but my code is working without multiplying with 2 as well.
@TuringTested01
@TuringTested01 Жыл бұрын
that is because you are gay
@aasthajain92
@aasthajain92 3 жыл бұрын
Yeah questions kaunse subject mai aate hai
@PRABHATKUMAR-ek5cu
@PRABHATKUMAR-ek5cu 2 жыл бұрын
Bit manipulation
@indrajitbagchi7313
@indrajitbagchi7313 10 ай бұрын
i think considering ordered pairs is wrong
3153. Sum of Digit Differences of All Pairs | Arrays | Sum
15:41
Aryan Mittal
Рет қаралды 3,9 М.
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 8 МЛН
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 14 МЛН
Minimum XOR Pairs | Min XOR Value | Bit Manipulation
17:19
Pepcoding
Рет қаралды 20 М.
Sum of pairwise Hamming Distance InterviewBit Code C++
10:03
Code with Alisha
Рет қаралды 5 М.
Sum of bit differences among all pairs | GeeksforGeeks
7:43
GeeksforGeeks
Рет қаралды 16 М.
Google Coding Interview Problem-Different Bits Sum Pairwise || C++
8:59
PhysicsMania-Mohit Gupta [IIT BHU]
Рет қаралды 1,6 М.