Font size
WorksheetsDATA STRUCTURE AND EGGNOG
Total questions: 17
Worksheet time: 9mins
is critical application of arrays and linked lists. A ----------- '_(x)' is an expression in variable 'x' taking the form ( a * x ^ n + b * x ^ (n - 1) +....+jx+k)^ prime , where 'a, b, c....', k are real numbers, and 'n' is a non-negative integer known as. It comprises different terms, each with a coefficient and an exponent
Polynomials
Monomials
Trinomials
apart from giving us the framework of divide and conquer methodology also gives us a methodology that we follow repeatedly during this course.
This way of breaking down the problem has found wide application in sorting, selection and searching algorithms.
Control Abstraction
Merge Sort
Divide and conquer
search problem aims at finding the smallest as well as the biggest element in a vector A of n elements. By the steps of Divide and Conquer, the vector can be divided into sub-problem as shown below.
Binary Search
Min min search
Linear search
is an equation or inequality that describes a function in terms of its value on smaller inputs.
Return
Recursion
Recurrence
we guess a bound and then use mathematical inductiont prove our guess correct.
Master method
Substitution method
Recursion tree method
converts the recurrence into a tree whose nodesrepresent the costs incurred at various levels of the recursion. We use techniques for bounding summations to solve the recurrence
Recursion tree method
Master method
Recurrence method
provides bounds for recurrences of the form
T(n) = aT(n / b) + f(n)
Master method
Recurrence method
Substitution method
Azi Acosta
which involves breaking a big issue into smaller subproblems that may be solved individually and then combining their solutions to solve the original problem
Partitioning
Merge Sort
Quick Sort
It is a classic case of the use of the divide and conquers methodology.
Sorting
Merge Sort
Quick Sort
Binary Sort
It is an efficient technique for *1/1 searching in a sorted array. It works by comparing a searching element „e" with the array's middle element A(mid).
Merge Sort
Linear search
Binary Search
Sorting
This is another method of sorting that uses a different methodology to arrive at the same sorted result. It "Partitions" the list into 2 parts but not necessarily at the center, but an arbitrarily "pivot" place and ensures that all elements to the left of the pivot element are lesser than the element itself and all those to the right of it are greater than the element
Partitioning
Merge Sort
Quick Sort
Binary Sort
It is a method of choosing a subset of a dataset as the solution set that results in some profit.
Divide and conquer
Merge Sort
Greedy Method
Substitution method
It is a technique for designing algorithms that consists of decomposing the instance to be solved into a number of smaller sub instances of the same problem, solving successively and independently each of these sub instances, and then combining the sub solutions thus obtained obtain the solution of the original instance
Linear search
Sorting
Divide and conquer
Greedy Method
It is a process of arranging a set of elements in some order. We can apply the divide-and-conquer method to the sorting problem.
Master method
Sorting
Quick Search
Searching
1st step to perform the divide and conquer technique
Divide
Conquer [Initial conquer]
Combine
Search
Conquer [Final conquer]
It is an important mathematical representation of a physical problem, for example finding optimum shortest path from a city to another city for a traveling sales man, so as to minimize the cost
(a)
starts with the least cost edge. Then, it chooses another edge that is adjacent to this edge and is of least cost and attaches it to the first edge.
Data structure and algorithms
Prime's Algorithm
Prim's Algorithms
Prince Algorithms
