↓ Skip to Main Content

TheoryApp

Main Navigation

  • Home
  • Java

Algorithm Analysis

By theoryapp Posted on December 29, 2019 Posted in Algorithm, Java Tagged with algorithm analysis, time complexity

Binary search looks more efficient than linear search when the array is sorted. The efficiency (time complexity) of an algorithm can be measured by the running time as a function of the input data size. Such functions are called growth …

Algorithm Analysis Read more »

Linear and Binary Search

By theoryapp Posted on December 29, 2019 Posted in Algorithm, Java Tagged with binary search, java, linear search, prefix search

Searching is to find a target in a collection of elements, or determine the target does not exist. Here we consider data in arrays stored in the memory; while in real problems data may be stored in disk files, databases, …

Linear and Binary Search Read more »

Recursion

By theoryapp Posted on December 28, 2019 Posted in Algorithm, Java Tagged with factorial, recursion, tower of hanoi

What is Recursion In general, recursion is the process of repeating items in a self-similar way. In programming, recursion is that a method calls itself to accomplish its purpose. Recursion appears in many areas. Arts: Drawing Hands by Escher, http://en.wikipedia.org/wiki/Drawing_Hands …

Recursion Read more »

Arrays in Java

By theoryapp Posted on December 28, 2019 Posted in Java Tagged with array, java, loop

An array stores a collection of values (elements) which are all of the same type. The following statement creates an array of integers: The array variable arr is of the type int[], where int is the type of the elements. …

Arrays in Java Read more »

Posts navigation

Previous 1 … 25 26 27 28 29 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