Developer topics that might interest you!
100 lessons
What Is Apache Kafka?
MembersHow To Write Lambda Expressions
FreeThis lesson introduces the basic lambda expression structure with tips to write efficient code.
What Are Lambda Expressions?
FreeThis is an introductory lesson on lambda expressions. You will learn about the lambda operator, expression, syntaxes and more!
Power Of Two (Exercise Problem)
PaidUser-Defined Customer Interface (Exercise Problem)
FreeThis is an exercise problem for your practice. Try to come up with an approach and solve it by yourself. Good Luck!
What Are UnaryOperator And BinaryOperator?
FreeUnary and Binary operators are the other two functional interfaces that most developers are interested in.
BiFunction Interface
FreeThis lesson talks about the third functional interface, which is the BiFunction.
What Is a Predicate Interface In Java?
FreeThis lesson talks about the third functional interface, which is the Predicate.
What is a Function Interface In Java?
FreeThis lesson talks about the third functional interface, which is the Function.
What is a Supplier Interface in Java?
FreeThis lesson talks about the second functional interface, which is the Supplier.
What is Consumer Interface in Java?
FreeThis lesson talks about the first functional interface, which is the Consumer.
A Detailed Guide On Java Built-In Functional Interfaces
FreeThis lesson details about the various functional interfaces that fall under major 4 categories.
What Are Functional Interfaces in Java? With Examples
FreeThis is the introductory lesson on functional interfaces. Introduced in Java SE 8, these are powerful and most useful as either lambdas or method reference can use it.
What Are The 3 Types Of Interfaces Available in Java?
FreeIn this lesson, you will learn how immutability is achieved through functional programming.
What is Immutability in Java Functional Programming?
FreeIn this lesson, you will learn how immutability is achieved through functional programming.
What are Pure & Impure Functions?
FreeThis lesson details pure and impure functions with various examples for understanding.
What Problems Does Functional Programming Solve in Java?
FreeFunctional programming solves almost all of the business use cases OOP solves. In fact, functional programming reduces bugs due to its immutability in nature.
How is Functional Programming Different From OOP?
FreeIn this lesson, you will learn about functional programming and the fundamental differences between object-oriented and functional programming.
What is Declarative Programming? With Examples
FreeIn this lesson, you will learn declarative programming and the steps to achieve it. You will also be introduced to some real-world use cases for easy understanding.
What is Imperative Programming? With Examples
FreeIn 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.
What Are Programming Paradigms?
FreeIn this lesson, you will learn various programming paradigms in computer science.
Introduce Yourself To Functional Programming
FreeFunctional programming is a paradigm that treats computation as the evaluation of functions, avoiding shared mutable state and side effects. It is far older than Java — Lisp introduced these ideas in 1958 — but Java only gained first-class support for it in Java SE 8 (March 2014), when lambda expressions,
Bit Manipulation Final Thoughts
FreeThis course has taught you how to re-write arithmetic operators like +, -, /, * into left, right shift, and other bit-level operations. I hope the knowledge you gain in this course will be useful in solving Leetcode, Hackerrank, HackerEarth, Codeforces, Codechef, and other online coding challenges. It will also help you
Introduction To Real-Time Data
MembersSolution Review: Get the First Set Bit Position Using the Right Shift
FreeIn the kth bit set/unset problem, we first write the algorithm, then some pseudocode, and then implement the solution. In this lesson, we try to solve this algorithm using the left shift operator. Try solving it on your own. Solution review Imagine we check the right-most significant bit
Challenge 1: Get the First Set Bit Position Using the Right Shift
FreeThis problem is similar to the last lesson we discussed. If you need a clue, return to the previous lesson to further your understanding. Introduction In this question, we need to find the first set-bit position from the right. Problem statement Given an input number, find the first set-
Check If Kth Bit Is Set/Unset Using Right Shift
FreeIn 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. In this lesson, we try to find a bit in the binary representation of a number at the kth position and check if it
Solution Review: Get The First Set Bit Position Using the Left Shift
FreeIn the kth bit set/unset problem, we first write the algorithm, then some pseudocode, and then implement the solution. In this lesson, we try to solve this algorithm using the left shift operator. Try solving it on your own. Solution review Imagine we check the right-most significant bit
Challenge 1: Get the First Set Bit Position Using the Left Shift
FreeThis problem is similar to the last lesson we discussed. If you need a clue, return to the previous lesson to further your understanding. Introduction In this question, we need to find the first set-bit position from the right. Problem statement Given an input number, find the first set-
How Strings Are Used In Collections?
MembersThread Safety: StringBuilder vs. StringBuffer
MembersPerformance Comparison Of StringBuilder vs. String Concatenation
MembersString, StringBuilder, and StringBuffer
MembersString Immutability
MembersNumber Formatting
MembersParsing Strings To Primitive Types
MembersString Formatting in Java (%s, %d, %f)
MembersString trim(), replace(), split()
MembersSearching And Indexing: indexOf(), lastIndexOf()
MembersIteration (using loops)
Memberssubstring()
MembersString Concatenations
MembersString Comparisons [null, ==, .equals()]
MembersOverview Of String Methods
MembersStrings Memory Management (Heap vs. Stack)
MembersWhat is String Pool in Java?
MembersHow To Create Strings in Java?
MembersWhat is a String in Java?
MembersMaven Interview Q&A
FreePrepare for Maven interviews with 10 common questions and scenario-based answers. Learn about POM, lifecycles, dependencies, plugins, multi-module projects, and best practices for Java developers.
Maven Best Practices For Reliable & Efficient Builds
FreeDiscover the best practices for Apache Maven: update dependencies regularly, use <dependencyManagement> for version consistency, and minimize snapshot usage in production for stable builds.
Integrating Maven With CI/CD
FreeLearn how to integrate Maven with CI/CD pipelines using Jenkins and GitHub Actions. Understand skipping tests with -DskipTests and deploying Maven artifacts to Nexus or Artifactory.
Maven Multi-Module Projects
FreeLearn Maven multi-module projects with examples. Understand parent POM vs child modules, aggregator vs inheritance, and see a complete multi-module setup for Java applications.
Maven Profiles
FreeLearn how to use Maven profiles for environment-specific builds. Activate profiles by command-line, property, or OS, and see a practical dev vs prod build example.
Maven Plugins
FreeLearn how to use Maven plugins like the Compiler Plugin, Surefire Plugin, and Shade Plugin. Configure Maven to compile code, run tests, and create fat JARs in Java projects.
Handling Dependency Conflicts
FreeLearn how to handle dependency conflicts in Maven. Use <dependencyManagement> for version consistency, override transitive dependencies, and analyze conflicts with mvn dependency:analyze.
Managing Dependencies in Maven
FreeLearn how to manage dependencies in Maven. Understand how to add dependencies in pom.xml, explore dependency scopes (compile, provided, runtime, test), and see how Maven resolves transitive dependencies.
Common Maven Commands
FreeApache Maven is one of the most popular build automation and dependency management tools in the Java ecosystem. While Maven offers a wide range of commands, a handful of them are used daily by Java developers when building, testing, and managing projects. In this lesson, we’ll cover the most
Maven Build Life Cycle
FreeWhen working with Apache Maven, every command you execute follows a predefined sequence of steps known as the build lifecycle. Understanding this lifecycle is essential for any Java developer who wants to build, test, and deploy applications efficiently. In this guide, we’ll explore: * Maven’s three standard lifecycles * The
Subsets/Powerset
PremiumYour First Maven Project
FreeIntroduction Now that you understand Maven’s installation and project structure, it’s time to create your first Maven project. In this lesson, you’ll learn how to: * Create a Maven project using archetypes * Use the mvn archetype:generate command * Open your Maven project in IntelliJ IDEA or Eclipse By
Maven project structure
FreeLearn Maven's standard project structure and directory layout for Java development. Master src/main/java, src/test/java, resources folders, and target build outputs. Follow Maven conventions for better IDE compatibility, team collaboration, and automated builds.
Understanding pom.xml
FreeMaster Maven pom.xml: Learn GAV coordinates, dependencies, plugins, and build configuration. Complete guide to Project Object Model structure for Java developers. Essential Maven tutorial.
How to install Maven
FreeLearn how to install Apache Maven on Windows, macOS & Linux. Step-by-step guide covers downloading, setting JAVA_HOME/MAVEN_HOME environment variables & verifying installation with mvn -v command.
Arithmetic and Logical Right Shifts
FreeThe logical right shift means shifting the bits to the right, and MSB(most significant bit) becomes 0. The arithmetic right shift means shifting the bits to the right, and MSB is the same as in the original number.
Bitwise Left Shifts
FreeThe left-shift operator causes the bits in shift-expression to be shifted to the left by the number of positions specified by additive-expression. The bit positions that have been vacated by the shift operation are zero-filled.
Introduction to Bit Shifting
FreeA bit shift is a Bitwise operation where the order of a series of bits is moved, either to the left or right, to efficiently perform a mathematical operation.
Solution Review: Missing Number
FreeWe solved the problem using lookup (hashtable), using the mathematical formula. Let's solve this more efficiently using bit-level operations with XOR and then optimize the solution.
Challenge 2: Missing Number
FreeIn this article, we'll learn various ways to find the missing number in an array. We use a memoization approach, a mathematical approach, and the most optimized way using the XOR operator.
Solution Review: Single Number
FreeSingle Number coding question, can be easily solved with XOR bitwise technique with linear time complexity.
Challenge 1: Single Number
FreeIn this lesson, every element appears twice except one element. We solve this using naive, and then we move to solve it more optimally using XOR operator.
Hamming Distance
FreeHamming distance talks about two integers where the bit positions where the corresponding bits are different.
Detect If Two Integers Have Opposite Signs
FreeIn this question, input two numbers and detect if they have opposite signs. We solve using bitwise XOR operator
Find Odd Occurring Element
FreeIn this coding question, we find the odd-appearing element using bitwise xor. This algorithm is simple yet powerful.
Check If Kth Bit Is Set/Unset Using Left Shift
FreeIn 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. In this lesson, we try to find a bit in the binary representation of a number at the kth position and check if
Find the Bit Length of a Number
FreeIn this lesson, we use the Left Shift operator to find the bit length of a number. Introduction In this question, we take input and find its bit length. Problem Statement Given an input, find its bit length. Input: 8 Output: 4 (1000) Input: 2 Output: 2 (10) Input: 7
Big O Complexities
MembersBest Practices
MembersWhy Use Maven? 🤔
FreeLearn Apache Maven essentials for Java developers. Master automated dependency management, standardized project structure, and build lifecycle. Discover why Maven is the preferred build tool for enterprise Java projects with hands-on examples.
Autoboxing And Unboxing
Members8 Primitive Types
MembersDifference Between Primitives And Wrappers
MembersSubsets Or Powerset
Members3D Array Use-Cases
MembersTraversing 3D Arrays
MembersSolution Review: Single Number
MembersChallenge 2: Single Number
MembersSolution Review: Missing Number
MembersChallenge 1: Missing Number
MembersHow to reverse the letters in a string in Java
MembersReverse Array: Array In-Place Algorithm
MembersFind Odd Occurring Element
MembersWhat is Immutability?
MembersAccess 3D Arrays
Members3D Arrays
MembersSwap Two Numbers
FreeIn this lesson, we use the XOR operator to swap the values of two inputs. Introduction In this question, input two numbers and swap them without using the swapping logic. Problem statement We need to write a program to swap two numbers. Input: a = 10, b = 121 Output: a = 121,
Bitwise XOR, Computations, and Examples
FreeIntroduction A Bitwise XOR is a binary operation that takes two-bit patterns of equal length and performs the logical exclusive OR operation on each corresponding bits pair. Each position’s result is 0 if both bits are 0 or if both bits are 1. Otherwise, the result is 1.
Introduction to XOR
FreeThe Bitwise XOR operator is denoted by ^. When an XOR gate is given with 2 inputs, the corresponding outputs will be: If two input bits are different, the output is 1. In all other cases, it is 0. This is an introductory lesson on XOR. Introduction This operator is the
Switch Sign of a Number
FreeWe make use of bit manipulation to solve this problem. using a NOT operator. In this coding question, we use the NOT operator to switch the sign of a number. Problem Statement We need to write a program to switch the sign of a number. Input: 10 Output: -10 Intuition
Bitwise NOT, Computations, and Examples
FreeBitwise NOT, takes the input number, considers its binary representation, and inverts every bit, which means the 0 bit becomes 1, and the 1 bit becomes 0. Introduction This article teaches us more about the NOT operator and how it will be used in computers. We also learn the 2&
Introduction to NOT Operator
FreeThe Bitwise NOT operator evaluates the binary representation of the value of a single input. If the bit contains 1, the output will be 0 for that bit location. If the bit contains 0, the output will be 1. Introduction This lesson introduces the tilde '~' character. This is
No lessons found
Try a different search term.