Giter Club home page Giter Club logo

sort's Introduction

Проект "Сортировка"

Зачем?

Проект разработан, чтобы наглядно показать преимущество алгоритма быстрой сортировки в сравнении простой с сортировкой. Результатом являются 2 параметра - количество итераций (циклов) алгоритма и время выполнения алгоритма, которое получаем из разности меток времени окончания и начала выполнения алгоритма.

Что?

В проекте реализовано 2 способа ввода исходного массива — ручной и автоматический для анализа большого массива данных.

Что делать?

  • В режиме ручного ввода предлагается вводить числа от 0 до 9999 в поле ввода, по нажатию клавиши “Enter” число добавляется в исходный массив.
  • В режиме автоматической генерации массива в поле ввода предлагается ввести количество элементов исходного массива, после нажатия на кнопку «Сгенерировать» получаем исходный массив, состоящий из введенного количества элементов из случайных чисел от 0 до 9999.
  • После нажатия на кнопку «Сортировать» начинается выполнение алгоритмов. При большом количестве элементов массива (более 40000) время выполнения задачи может сильно увеличиться.
  • Кнопка «Сбросить» возвращает к исходной форме.

_______________________________________________

Project "Sorting"

Why

The project was developed to show an advantage of the quick sorting algorithm with 2 output parameters: the count of cycles and duration in milliseconds.

What

2 ways of the source array input were implemented: manual and auto for big-data analysis.

How it works

  • In manual input mode the user needs to input a number between 0 and 9999, then click “Enter” to add a number to an array.
  • In auto input mode the user needs to input the number between 1 and 99999, then click “Generate” to get an automatically generated source array of random numbers from 0 to 9999.
  • “Sort” button starts the algorithms. Warning: a large number of array elements (over 40000) increases the simple sorting duration time dramatically.
  • “Reset” button clears all fields.

sort's People

Contributors

alekseimakhov avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.