i

basic algorithms and DS

refer

Big O Notation	Name	Example(s)
O(1)	Constant	# Odd or Even number, # Look-up table (on average)
O(log n)	Logarithmic	# Finding element on sorted array with binary search
O(n)	Linear	# Find max element in unsorted array, # Duplicate elements in array with Hash Map
O(n log n)	Linearithmic	# Sorting elements in array with merge sort
O(n2)	Quadratic	# Duplicate elements in array **(naïve)**, # Sorting array with bubble sort
O(n3)	Cubic	# 3 variables equation solver
O(2n)	Exponential	# Find all subsets
O(n!)	Factorial	# Find all permutations of a given set/string

img(°0°)

by categories

img(°0°)

java demos

  • Data Structures
    img(°0°)
  • Java Collections
    img(°0°)
  • major Algorithms
    img(°0°)
  • Sorting Algorithms
    img(°0°)
  • Recursions
    img(°0°)
  • DFS and BFS
    img(°0°)

refer0
refer

questions