↓ Skip to Main Content

TheoryApp

Main Navigation

  • Home
  • Java

Randomness

By theoryapp Posted on December 30, 2019 Posted in Algorithm, Java Tagged with java, quick select, random, random walk

Randomness is an important computational resource, just as running time and memory space. Randomness sometimes is essential for designing algorithms. Randomness is useful! Quick Select In quick sort, a random pivot selection has the property that, for any input data, …

Randomness Read more »

Quick Sort

By theoryapp Posted on December 30, 2019 Posted in Algorithm, Java Tagged with divide and conquer, java, quick sort

Quick sort is to partition the array around one element and then sort each part recursively. Pick up one element as the pivot Move all elements less than the pivot to the left, and all elements greater than the pivot …

Quick Sort Read more »

Merge Sort

By theoryapp Posted on December 29, 2019 Posted in Algorithm, Java Tagged with divide and conquer, java, merge sort

Consider the problem of sorting an array of numbers in order. Merge sort is to recursively divide the array in half, and then recombine the sorted subarrays. Divide the array in half. Recursively divide until each subarray has only one …

Merge Sort Read more »

Selection, Insertion and Bubble Sort

By theoryapp Posted on December 29, 2019 Posted in Algorithm, Java Tagged with bubble sort, insertion sort, selection sort, sort

Sorting — arranging items in order — is the most fundamental task in computation. Sorting enables efficient searching algorithms such as binary search. Selection, insertion and bubble sort are easily understandable and also similar to each other, but they are …

Selection, Insertion and Bubble Sort Read more »

Posts navigation

Previous 1 … 24 25 26 27 28 … 30 Next

Recent Posts

  • Customize Mediawiki To Remove Management Links
  • Install and Run PHP on MacOS
  • Load Apache Access Logs into MySQL
  • How to Stop Processes Run by “launchd” in Mac
  • Use PHP Imagick to Combine Multiple Images into One Image
  • Remove a Substring Based on Begining and Ending Tags in PHP
  • Trim Leading Zeros of Numbers in a String with PHP
  • How to Create a Table using jsPDF
  • How to Choose a Random Element from an Array
  • How to Print a List of Items in Rows and Columns in jsPDF

Categories

  • Algorithm
  • BigData
  • Combinatorics
  • DevTool
  • HowTo
  • Java
  • JavaScript
  • MySQL
  • PHP
  • Probability
  • SQL
  • Theory
  • Uncategorized
  • Web

Tags

abstract class abstract method ArrayList boolean function chernoff bound class CSS derandomization divide and conquer dom endswith expression FIFO fourier analysis generic type geocoding google maps html inheritance interface java java collection JavaScript lifo loop mysql object-oriented parser PHP polymorphism probability programming pseudorandom generator random random walk recursion regular expression rss seo sql startswith store locator string twitter xml

Archives

  • May 2024
  • March 2024
  • February 2024
  • January 2024
  • July 2023
  • May 2023
  • March 2023
  • May 2022
  • February 2022
  • December 2021
  • August 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • February 2020
  • January 2020
  • December 2019

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
© 2025 TheoryApp | Powered by Responsive Theme