Skip to content
Courses
DSA to Development
Get IBM Certification
Newly Launched!
Master Django Framework
Become AWS Certified
For Working Professionals
Interview 101: DSA & System Design
Data Science Training Program
JAVA Backend Development (Live)
DevOps Engineering (LIVE)
Data Structures & Algorithms in Python
For Students
Placement Preparation Course
Data Science (Live)
Data Structure & Algorithm-Self Paced (C++/JAVA)
Master Competitive Programming (Live)
Full Stack Development with React & Node JS (Live)
Full Stack Development
Data Science Program
All Courses
Tutorials
Data Structures & Algorithms
ML & Data Science
Interview Corner
Programming Languages
Web Development
CS Subjects
DevOps And Linux
School Learning
Practice
Build your AI Agent
GfG 160
Problem of the Day
Practice Coding Problems
GfG SDE Sheet
Contests
Accenture Hackathon (Ending Soon!)
GfG Weekly [Rated Contest]
Job-A-Thon Hiring Challenge
All Contests and Events
DSA
Practice Problems
Python
C
C++
Java
Courses
Machine Learning
DevOps
Web Development
System Design
Aptitude
Projects
Sign In
▲
Similar Topics
DSA
22.3k+ articles
Mathematical
7.7k+ articles
Machine Learning
2.4k+ articles
Algorithms
1.9k+ articles
C Language
1.8k+ articles
C Programs
800+ articles
Data Structures
250+ articles
Randomized
68 articles
array-stream
17 articles
Engineering Mathematics Questions
17 articles
Random Algorithms
4 posts
Popular Articles
Recent Articles
Java Program to Implement Park-Miller Random Number Generation Algorithm
Last Updated: 15 December 2020
Park–Miller random number generator is also known as Lehmer random number generator. A general formula of a random number generator (RNG)
...read more
Output of Java Program
Random Algorithms
Java
Technical Scripter
Java-Output
Java Programs
Picked
Java 8
Technical Scripter 2020
Mathematics concept required for Deep Learning
Last Updated: 13 February 2024
Why is Math required for Deep Learning? Interested people who have the thirst to learn more about the concept behind a deep learning algorit
...read more
Random Algorithms
Algorithms
Data Structures
Engineering Mathematics Questions
Machine Learning
data-science
python
Deep-Learning
DSA
Data Science
Deep Learning
AI-ML-DS
Generating Random Numbers in a Range in C
Last Updated: 11 October 2024
Write a C program to generate random numbers in a range.ExamplesInput: min = 5, max = 15Output: 9, 11, 2Explanation: Any integer between 5 a
...read more
Random Algorithms
C Language
C Programs
Similar Topics
DSA
22.3k+ articles
Mathematical
7.7k+ articles
Machine Learning
2.4k+ articles
Algorithms
1.9k+ articles
C Language
1.8k+ articles
C Programs
800+ articles
Data Structures
250+ articles
Randomized
68+ articles
array-stream
17+ articles
Engineering Mathematics Questions
17+ articles
Select a random number from stream, with O(1) space
Last Updated: 20 April 2023
Given a stream of numbers, generate a random number from the stream. You are allowed to use only O(1) space and the input is in the form of
...read more
Random Algorithms
Mathematical
Randomized
array-stream
DSA
1
1
1
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !