Topic:Bit Manipulation
Basics: Bits & Bytes
Bitwise Manipulation Tutorial
Bitwise manipulation is a technique to modify a bit of a number to get the desired result. It's a powerful technique to optimize and speed up your code. Bitwise manipulation proves very useful in coding interviews and competitive programming.
The...
Nlogn Team - 0
Practice Programming
Find all possible subset of a given set
Given a set (of n elements), Print all possible subset (2^n) of this set.
Example: Set = {a,b,c}, Power set of S, P(S) = {Φ, {a}, {b}, {c}, {a,b}, {b,c}, {a,c}, {a,b,c}}
Note: A set of n elements will have 2^n...
Nlogn Team - 0
Subscribe to our weekly newsletter
Join our community of 1000+ developers and stay updated with the fast moving world of computer science
Even we hate spam as much as you hate them