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 » Math

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.

  • x Math (11)
  • Java String (7)
  • Java Search (7)
  • Java Array (6)
  • Java Map (3)
  • Sorting (3)

>> Java Program to Print Pascal’s Triangle

>> Java Program to Calculate the Standard Deviation

>> Determine if an Integer’s Square Root Is an Integer in Java

>> Largest Power of 2 That Is Less Than the Given Number with Java

>> Fibonacci Series in Java

>> Finding the Least Common Multiple in Java

>> Calculating Logarithms in Java

>> Matrix Multiplication in Java

>> Find If Two Numbers Are Relatively Prime in Java

>> Generate Combinations in Java

>> Using Math.sin with Degrees

  • ↑ Back to Top
res – REST with Spring (eBook) (everywhere)
opt-in
Building a REST API with Spring 5?
Download the E-book
The Baeldung logo

Courses

  • All Courses
  • All Bulk Courses
  • All Bulk Team 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