Explore various ways to check if a number is a palindrome, including iterative methods, recursive techniques, and a few optimized approaches.
Also find me here:
Baeldung Author
Neetika Khandelwal
An enthusiastic computer science engineer with experience working in Java applications. I have interest in solving real world problems through my knowledge in DSA and passionate about learning new technologies. I also develop technical contents to share knowledge and provide learning content.
Here's what I've written (so far):
Baeldung on Java
- All
- Java Array (7)
- Java List (4)
- Java Collections (4)
- Algorithms (4)
- Java Streams (3)
- Java Numbers (3)
- Java Map (3)
- JSON (3)
- Spring Boot (2)
- Java String (2)
- Java (2)
- Testing (1)
- Spring (1)
- Persistence (1)
- Networking (1)
- Logging (1)
- Java Web (1)
- Data (1)
- Core Java (1)
Find the Length of the Largest Subarray With Zero Sum in Java
Filed under Algorithms, Java Array
Walk through a step-by-step linear-time Java HashMap approach to finding the largest subarray that sums to zero.
Collect Successive Pairs From a Stream in Java
Filed under Java Streams
Explore how to leverage SimpleEntry to create pairs of adjacent elements and learn how stateful transformations can provide a flexible approach to managing and processing data streams.
How to Convert to and From a Stream and Two Dimensional Array in Java
Filed under Java Array, Java Streams
Learn how to effectively convert a 2D array to a stream of rows or a flat stream, and then reassemble them back into a 2D array.
@ExtensionMethod Annotation in Lombok
Filed under Java
Learn how to use the @ExtensionMethod annotation in Lombok to enhance the functionality of existing classes without modifying their source code.
Finding the Mode of Integers in an Array in Java
Filed under Java Array
Explore various ways to find the mode of integers in an array along with the methods’ advantages in different scenarios.
Convert a Map to a Spring MultiValueMap
Learn how to convert a Java Map to a MultiValueMap that holds multiple values against a single key.
Using Comparator.nullsLast() to Avoid NullPointerException When Sorting
Filed under Java Collections
Explore the power of Comparator.nullsLast() that allows us to sort data safely and predictably.
Convert a Queue to a List
Filed under Java Collections, Java List
Learn various ways to convert Queue to List in Java.
Baeldung on Computer Science
- All
- Programming (1)
- Data Structures (1)
How to Implement a Queue Using Two Stacks?
Filed under Data Structures
Learn two approaches to simulating a FIFO queue using two LIFO stacks.
High-Level Design vs. Low-Level Design
Filed under Programming
Explore the differences between high-level and low-level designs in software engineering.