BIT MANIPULATION
Before we talk about Bit Manipulation we shall understand the Binary Number system. The Binary Number System is also known as base-2 number system. It is a procedure of representing numbers that counts by using combinations of only two numbers(one and zero) Basically computers use a binary number system to store and manipulate data. Here the rightmost column represents one place and the second right … Continue reading BIT MANIPULATION
What are Position Properties in CSS?
The position property will help you place an element wherever you want. For eg: There are 5 Position Property Static Relative Fixed Absolute Sticky Static position All html elements are static by default. The static position elements does not affect anything. The element will stick to the normal page flow. Relative position Relative Position is somewhat similar to Static position. If you apply relative position … Continue reading What are Position Properties in CSS?
HOW GREEDY ALGORITHM WORKS ?
Lets us first understand what is greedy means? Greedy means having an excessive desire . which mean to want more of something. A Greedy algorithm will choice a optimal value at each stage with the hope of finding a global optimum. For example: In the above picture what do you think the maximum output is? If you apply Greedy Algorithm to solve this problem the … Continue reading HOW GREEDY ALGORITHM WORKS ?