Skip to content

marcelarosalesj-education/other.algorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

algorithms

  • binary search - split in halfs, and check if the number is greater or less than.
  • selection sort - find the smallest (or largest) and put it in a different list.
  • linked lists vs arrays - linked lists are slower for search, but faster for insert/delete than arrays.
  • arrays allows fast read and are contiguous in memory.
  • recursion uses the stack for functions, function calls go to the stack
  • recursive functions must have a base case and a recursive case.
  • stack has two operations: push and pop

Releases

No releases published

Packages

No packages published

Languages