Skip to content

Gopi Gorantala

Gopi is a software engineer with over 14 years of experience. He specializes in Java-based technology stack and has worked for various startups, the European government, and technology giants.

Members Public

The Benefits of Writing Your Own Code (Even If It's Not Perfect)

In the programming world, copying and pasting code from the internet can be tempting, but doing so can lead to a lack of understanding and hinder personal growth as a programmer.

The Benefits of Writing Your Own Code (Even If It's Not Perfect)
Members Public

Introduction to Java Enums

Definition of enums In Java, an enum (short for "enumeration") is a special data type that allows developers to define a set of named constants grouped under a single type. Each constant represents a unique value that can be assigned to a variable of that enum type. Enums

Introduction to Java Enums
Members Public

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 Public

Solution Review: Get the First Set Bit Position Using the Right Shift

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

Members Public

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 Public

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 Public

Solution Review: Get The First Set Bit Position Using the Left Shift

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

Members Public

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 Public

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 Public

Find the Bit Length of a Number