Big-O time complexity for Bubble sort
O(n^2)
Big-O time complexity for Linear search
O(n)
Big-O time complexity for Merge sort
O(nlogn)
Describe the method that would need to be followed to attempt to remove an item from a circular queue implemented as a static data structure using an array
three differences between dynamic and static data structures
static data structures memory are allocated at compile time/dynamic data structure memory are allocated at run time.
static data structure size is fixed and cannot change during runtime/ dynamic data structure size can be changed during runtime
static data structure memory is managed by compiler/ dynamic data structure memory is managed by the programmer
explain how a single stack can be used to reverse the order of the items in a queue