Please enable JavaScript.
Coggle requires JavaScript to display documents.
algorithms (measures methods to determine efficiency (data strutures…
algorithms
-
-
stranded algorthms
-
sort
insertion sort
-
two lists one sorted one not
take the first item in unsorted
move item to correct location in sorted list
-
-
merge sort
-
divide and conquer, recursive
data is broken down in to one item lists
recursivly recombined
(focus on one half at a time)
split then combine by comparing fist items then second etc.
-
quiz sort
-
pivots are used
items larger move to the right and smaller to the left
pointers are used to manipulate pivots
two distinct one moving and one stationary pointers are used
a swap is made if the pointers are in the wrong order
when the numbers swap so do the pointers
when the pointers meet the pivot is found
-
-
bubble
-
swaps two agasent items if out of order unitil, a sorted list is formed
-
path finder
dyijkstra
-
-
mark each node a distance of infatine from start node
while the destination node is unvisted
go to closet unvisted node
calulate distance to current node pluse the distance to the start node
if distance is less then the current distance update it
go to next node
-
-
-