We may wish to detect whether Strings contain anagrams of each other. Here we explore a few algorithms, with different programming and execution complexity.
Search Results for: ascii
The Caesar Cipher in Java
Learn how to cipher and decipher a message by shifting its letters by a given offset using Caesar Cipher.
Guide to StreamTokenizer
Learn how to parse a stream of characters with StreamTokenizer.
A Guide to the Folding Technique in Java
Learn about the most popular hashing techniques, their pros, and cons.
Reading a File in Groovy
Learn various ways to read text and binary files in Groovy
Common String Operations in Java
Learn how to work with Strings in Java
Java String Interview Questions and Answers
Prepare for your next Java interview. How many of these do you already know?
Guide to Character Encoding
Explore character encoding in Java and learn about common pitfalls.
Adding a Newline Character to a String in Java
Learn about newline characters in Java for text output and HTML
Convert String to Byte Array and Reverse in Java
Have a look at ways to convert between a String and a byte array in Java
Guide to BufferedReader
Learn the basics as well as some advanced features from the BufferedReader class
Guide to Passay
Learn how to use the Passay library for password validation and generation
Sorting a String Alphabetically in Java
Have a look at different ways to sort a String alphabetically in Java.
Introduction to Chaos Monkey
Learn how to introduce elements of chaos engineering to a Spring Boot application using Chaos Monkey.
Difference Between JVM, JRE, and JDK
A guide to understanding the difference between JVM, JRE, and JDK in Java.
A Guide to the ResourceBundle
It’s always challenging to maintain and extend multilingual applications. This article covers how to use the ResourceBundle to cope with the varieties that come up when you need to provide the same content to different cultures.
Java String.getBytes()
A quick example and explanation of the getBytes API of the standard String class in Java.
Compact Strings in Java 9
Discover Compact Strings – a new Java 9 feature.
String Search Algorithms for Large Texts with Java
Discover different full-text search algorithms implemented using plain Java.
Introduction to Lambda Behave
A quick and practical guide to Lambda Behave – a new Java-based testing framework.