The Baeldung logo
  • The Baeldung Logo
  • Start Here
  • Courses ▼▲
    • REST with Spring

      The canonical reference for building a production grade API with Spring

    • Learn Spring Security ▼▲

      THE unique Spring Security education if you’re working with Java today

      • Learn Spring Security Core

        Focus on the Core of Spring Security 5

      • Learn Spring Security OAuth

        Focus on the new OAuth2 stack in Spring Security 5

    • Learn Spring

      From no experience to actually building stuff​

    • Learn Spring Data JPA

      The full guide to persistence with Spring Data JPA

  • Guides ▼▲
    • Persistence

      The Persistence with Spring guides

    • REST

      The guides on building REST APIs with Spring

    • Security

      The Spring Security guides

  • About ▼▲
    • Full Archive

      The high level overview of all the articles on the site.

    • Baeldung Ebooks

      Discover all of our eBooks

    • About Baeldung

      About Baeldung.

Algorithms

Algorithms are one of the foundational concepts in programming. Have a look at how to work with the most well-known algorithms using the Java language.

  • Math (9)
  • Java Search (7)
  • Java Array (5)
  • Java String (5)

>> Generate Combinations in Java

>> Check If a String Contains Multiple Keywords in Java

>> Finding Leap Years in Java

>> Implementing Simple State Machines with Java Enums

>> Check if a String is a Pangram in Java

>> Calculate Factorial in Java

>> Find Substrings That Are Palindromes in Java

>> Calculate the Area of a Circle in Java

>> Convert Latitude and Longitude to a 2D Point in Java

>> Heap Sort in Java

>> Using Math.sin with Degrees

>> Quicksort Algorithm Implementation in Java

>> Merge Sort in Java

>> Hashing a Password in Java

>> Round Up to the Nearest Hundred in Java

>> A Guide to OptaPlanner

>> Check If Two Rectangles Overlap In Java

>> Calculate the Distance Between Two Points in Java

>> Time Complexity of Java Collections

>> Check If a String Contains All The Letters of The Alphabet with Java

  • «
  • ← Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • Next →
Generic sidebar banner
opt-in
Building a REST API with Spring 5?
Download the E-book
The Baeldung logo

Courses

  • All Courses
  • All Bulk Courses
  • The Courses Platform

Series

  • Java “Back to Basics” Tutorial
  • Jackson JSON Tutorial
  • Apache HttpClient Tutorial
  • REST with Spring Tutorial
  • Spring Persistence Tutorial
  • Security with Spring
  • Spring Reactive Tutorials

About

  • About Baeldung
  • The Full Archive
  • Editors
  • Jobs
  • Our Partners
  • Partner with Baeldung
  • Terms of Service
  • Privacy Policy
  • Company Info
  • Contact
The Baeldung Logo