Learn how to check if a String is its own mirror image in Java.
Search Results for: reversed
Rotate Arrays in Java
Learn how to rotate an array by k rotations with brute force and more complex algorithms like reverse or cyclic replacements.
Sequenced Collections in Java 21
Learn about the new sequenced collections from the Java 21 release.
Sorting Java Map in Descending Order
A quick and practical guide to sorting Java Map in descending order.
Reversing a Stack in Java
A quick and practical guide to reversing a Stack in Java.
Guide to Java PriorityQueue
A quick and practical guide to Java’s PriorityQueue.
Reverse an ArrayList in Java
Learn how to reverse an ArrayList through examples
Reverse a Number in Java
Learn how to reverse a number using a mathematical approach in Java.
Convert Between boolean and int in Java
Different ways to convert a boolean to an integer.
Bitmasking in Java with Bitwise Operators
A quick and practical guide to low-level bitmasking using bitwise operators.
How to Implement Min-Max Heap in Java
Learn how to implement a min-max heap in Java and explore some of the most common operations.
Reversing a Linked List in Java
Implement two linked list reversal algorithms in Java
A Guide to async-profiler
Explore async-profiler along with various profiling techniques it offers
Using the Not Operator in If Conditions in Java
Inverting logical expressions can make your code clearer, and is an important part of using Java. Here are some tricks to master and pitfalls to avoid.
Counting Sort in Java
Learn about the counting sort and then implement it in Java.
Guide to In-Place Sorting Algorithm Works with a Java Implementation
Learn how the in-place sorting algorithm works.
Depth First Search in Java
A guide to the Depth-first search algorithm in Java, using both Tree and Graph data structures.
How to Reverse a String in Java
Explore different ways of reversing a String in Java.
The Difference Between Collection.stream().forEach() and Collection.forEach()
A quick and practical overview of the difference between Collection.stream().forEach() and Collection.forEach().
The Dependency Inversion Principle in Java
Learn the fundamentals of the Dependency Inversion Principle through examples written in Java 8 and in the Java 11 module system.