Skip to content

Blog

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

Members only

Leetcode 238: Product Of Array Except Self

Leetcode 238 Product of Array Except Self explained: solve it without division in O(n) time, with a clear walkthrough of the approach in this Blind 75 problem.

Leetcode 238: Product Of Array Except Self
Members only

Course Overview

An overview of the arrays course: what it covers, how the lessons are organized and what you will be able to solve with arrays by the end of the course.

Top 10 programming languages to learn in 2024

Introduction As we step into the arena of 2024, the demand for skilled software programmers continues to surge, and staying ahead of the curve is more crucial than ever. Choosing the right programming language to master can significantly impact your career path. We all know that the pandemic has commenced

Control Statements In Java

Introduction When you write code or a program, the program executes the blocks in the order they appear from top to bottom. Control flow statements help break up this execution flow by providing decision-making, looping, and branching capabilities. They allow your program to execute specific code blocks conditionally. In

Printing To The Console in Java

Introduction Printing something on the console or panel that displays important messages, such as errors, messages, or data outputs, directly for developers. In Java, you can print to the console using the System.out.println() method. Here's a simple example: System.out.println(100); prints 100 on the

Members only

Leetcode 217: Contains Duplicate

Leetcode 217 Contains Duplicate explained: learn how to find a duplicate element in an array using a hashing algorithm, with a clear step-by-step solution.

Members only

Leetcode 121: Best Time To Buy and Sell Stock

Leetcode 121 Best Time to Buy and Sell Stock explained: find the maximum profit from one trade, with a clear walkthrough of this Blind 75 array problem.

Leetcode 121: Best Time To Buy and Sell Stock

Differences Between JDK, JRE, and JVM?

Short answer JDK, JRE, and JVM are essential components of the Java platform, each serving a distinct purpose. Here are the key differences between them: 1. JDK (Java Development Kit): The JDK is used by developers to write, compile, and debug Java code. 2. JRE (Java Runtime Environment): End-users

Difference Between String and char[] in Java

Short answer Strings String is an object with many helpful methods. String class in Java's standard library is designed to handle text as a sequence of characters. A string of characters (string object) is non-modifiable or immutable in Java. Once you've created it, you cannot

What is an Object class in Java?

Short answer Object class is the super class of every class you can create. In Java, a class extends another class using the keyword extends. If you don't have any other class to extend, that's fine. The compiler will make your class extend the Object class.