Tag: Java

Merge sort java

Merge Sort with Java

The merge sort is a sorting algorithm that uses a divide-and-conquer strategy to sort an array of elements. It is an efficient sorting algorithm, with an average time complexity of O(n log n). The merge sort algorithm works by recursively dividing...

java jcp

What is the Java Community Process (JCP)?

The Java Community Process (JCP) is a collaborative effort between the Java community and Oracle Corporation to develop and evolve the Java Platform, Standard Edition (Java SE), Java Platform, Enterprise Edition (Jakarta EE), and related...

streams min max

Streams min max Java Challenge

Streams are really important for every Java developer to master. Some functions such as max and min are also important and that’s what we will explore in the following Java code challenge! After trying out to solve the Java code challenge on...

quicksort algorithm

Quicksort Algorithm with Java

The Quicksort algorithm is one of the most effective for Java and any other programming languages. It’s used behind the scenes in many JDK API methods for example. Choosing the pivot with the Quicksort Algorithm The first step to do the...

linked list

Linked List Data Structure with Java

The Linked List data structure with Java and other programming languages is a fundamental type that is highly performant for adding or removing elements. A Linked List works differently than an array. An array is stored in memory in a contiguous way...

memory allocation java

Memory Allocation with Java

Every time we create a variable, invoke a method, or create an instance memory allocation will happen in Java and any other programming language. Data is stored in the form of bits, each memory slot can hold 1 byte which is the same as 8 bits...