Skip to content

Blog

Production error deep-dives — root cause, reproduction, and the fix that holds.

Members only

What is Imperative Programming? With Examples

In this lesson, you will learn imperative programming and the steps to achieve it. You will also be introduced to some real-world use cases for easy understanding.

Members only

Solution Review: First Set Bit Position Using Right Shift

In the kth bit set/unset problem, we first write the algorithm, then some pseudocode, and then implement the solution.

Members only

Challenge 1: Get the First Set Bit Position Using the Right Shift

This problem is similar to the last lesson we discussed. If you need a clue, return to the previous lesson to further your understanding.

Members only

Check If Kth Bit Is Set/Unset Using Right Shift

In the kth bit set/unset problem, we need to write a program that checks whether the kth bit of a number is 1 or 0.

Members only

Solution Review: First Set Bit Position Using Left Shift

In the kth bit set/unset problem, we first write the algorithm, then some pseudocode, and then implement the solution.

Members only

Challenge 1: Get the First Set Bit Position Using the Left Shift

This problem is similar to the last lesson we discussed. If you need a clue, return to the previous lesson to further your understanding.

Members only

Check If Kth Bit Is Set/Unset Using Left Shift

In the kth bit set/unset problem, we need to write a program that checks whether the kth bit of a number is either 1 or 0.

Members only

Find the Bit Length of a Number

Learn how to find the bit length of a number using bit manipulation and the shift operators, with a clear walkthrough of the approach for this challenge.

Members only

Arithmetic and Logical Right Shifts

Arithmetic and logical right shifts explained: how a logical shift fills the most significant bit with 0, how an arithmetic shift differs, with examples.

Members only

Bitwise Left Shifts

Learn bitwise left shifts: how the left-shift operator moves the bits of a value to the left by a given number of positions, with worked examples in binary.