Learn multiple algorithms to check whether a string is a rotation of another string including examples and complexity analysis.
Here's what I've written (so far):
Baeldung on Java
- Testing (2)
- Java String (2)
- Algorithms (2)
- Spring Boot (1)
- Persistence (1)
- Java Concurrency (1)
- Java Array (1)
- JPA (1)
- Gradle (1)
- Core Java (1)
Learn how to configure Gradle dependencies to write specification tests with Spock and Spring.
In this tutorial, we learn how to override Spring beans in integration tests.
Learn how to change a method’s input String while preserving immutability and avoiding side effects.
Learn how to rotate an array by k rotations with brute force and more complex algorithms like reverse or cyclic replacements.
Learn how to improve the readability of multiple conditions in an if statement.
Learn how to return a value from a thread that has its job terminated
Learn how simple and complex SQL views differ from materialized views.
Learn how Spring Data JPA and JPA both work with some high-level overviews and code snippets.
Baeldung on Computer Science
- Programming (2)
- Software Architecture (1)
Learn the differences between faking, mocking, and stubbing when using test implementations for software components.
Learn about the Dependency Inversion Principle with examples and why we should use it.
Learn how serialization and marshaling work and see their most common use cases.
Baeldung on Ops
- Kubernetes (2)
- Docker (1)
Learn how the kubectl object management works with kubectl create and kubectl apply.
Learn the main features of K3s and create a simple cluster as an example.
Explore how two containers can connect on the same machine using Docker Compose