VietMX's Blog
  • C++
  • JAVA
  • JS
  • NODEJS
  • PYTHON
  • TOOLS
  • BLOCKCHAIN
  • AI
  • EBOOK
  • ACM
  • ALGORITHM
  • Q&A

Random

Java Program to Generate Random Numbers Using Middle Square Method

2021 VietMX 0

This is java program to generate the random numbers. In mathematics, the middle-square method is a method of generating ‘pseudorandom’ numbers.To generate a sequence of […]

Java Program to Implement the linear congruential generator for Pseudo Random Number Generation

2021 VietMX 0

This is java program to generate a random numbers, using linear congruential generator. The formula for next random number in the sequence is x(n+1) = […]

Java – Generate Random String

2021 VietMX 0

1. Introduction In this tutorial, we’re going to learn how to generate a random string in Java, first using the standard Java libraries, then using […]

Generating Random Dates in Java

2021 VietMX 1

1. Overview In this tutorial, we’re going to see how to generate random dates and times in bounded and unbounded fashions. We’ll be looking at […]

Generating Random Numbers in a Range in Java

2021 VietMX 0

1. Overview In this tutorial, we’ll explore different ways of generating random numbers within a range. 2. Generating Random Numbers in a Range 2.1. Math.random Math.random gives […]

Java – Get Random Item/Element From a List

2021 VietMX 0

1. Introduction Picking a random List element is a very basic operation but not so obvious to implement. In this article, we’ll show the most efficient way […]

Java – Random Long, Float, Integer and Double

2021 VietMX 0

1. Generate an Unbounded Long Let’s start with generating a Long: 2. Generate a Long Within a Range 2.1. Random Long With Plain Java Next […]

SEARCH

  • The Stern-Brocot tree and Farey sequences

    2021 0
  • 15 Puzzle Game: Existence Of The Solution

    2021 0
  • Josephus Problem

    2021 0
  • Optimal schedule of jobs given their deadlines and durations

    2021 0
  • Scheduling jobs on two machines

    2021 0
  • Scheduling jobs on one machine

    2021 0
  • Sprague-Grundy theorem

    2021 0
  • Games on arbitrary graphs

    2021 0
  • K-th order statistic in O(N)

    2021 0
  • Search the subarray with the maximum/minimum sum

    2021 0
  • Longest increasing subsequence

    2021 0
  • Range Minimum Query

    2021 0
  • Heavy-light decomposition

    2021 0
  • 2 – SAT

    2021 0
  • Paint the edges of the tree

    2021 1
  • Edge connectivity / Vertex connectivity

    2021 0
  • Topological Sorting

    2021 0
  • Kuhn’s Algorithm for Maximum Bipartite Matching

    2021 0

Algorithm Array Collections Convert Converting Custom Data Structure Deep Learning Dictionary File Finding Generate Graph Guide HttpClient Implement InputStream Introduction Jackson Java JavaScript JPA JUnit List Machine Learning MongoDB New Year Node.js OAuth2 Perform Program Python REST API Set Spring Spring Boot Spring Cloud Spring Data Spring MVC Spring Security Stream String Strings Tree WebFlux

  • ACM
  • AI
  • ALGORITHM
  • BLOCKCHAIN
  • C/C++
  • EBOOK
  • JAVA
  • JS
  • NODEJS
  • PYTHON
  • TOOLS
CONTACT INFORMATION
  • Email: maixuanviet.com@gmail.com
  • Skype: maixuanviet.com@outlook.com
  • Linkein: linkedin.com/in/maixuanviet
  • HackerRank: hackerrank.com/vietmx
  • Github: github.com/vietmx
  • Tiktok: tiktok.com/@maixuanviet.com

DMCA.com Protection Status