Skip to content

rajaasthana/RandomNumberGeneratorAndSorter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Random Number Generator And Sorter Application

Requirement

The requirement is to generate random number based on the user input (count) and sort them in ascending order using a sorting algorithm. The GUI should be used to capture the user input and should display the below details.

  • Generated Random Number
  • Sorted Random Number
  • No of position changed (swap count for sorting)
  • Time taken to sort the random numbers

Also, the application should persist the data even after restart.

Solution Proposed

Below are the technology stack used to achieve the solution.

Java 8

For Lambda Expressions and Stream APIs

Spring boot

To configure Spring MVC, embedded Servlet Container (used Tomcat 8.5 for this application) and H2 Database

Spring-MVC

To create loosely coupled web application

Spring-Data-JPA

To use the in-build JpaRepository to persist and retrieve data through query methods

H2 Database

To persist the data even after restart, I have the in-memory database

Maven

To build and package the application to JAR

Steps to execute the Application

About

Random Number Generator and Sorter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages