Answer:
and ![[6,9,8,7]](https://tex.z-dn.net/?f=%5B6%2C9%2C8%2C7%5D)
Step-by-step explanation:
GIVEN: an array of ten integers
.
TO FIND: If we partition this array using Quick sort's partition function and using
for the pivot. List the elements of the resulting array after the partition finishes.
SOLUTION:
quick sort is a divide and conquer algorithm in which an array is partitioned into sub-arrays about an pivot element by checking whether elements are greater than pivot or and then sub arrays are sorted recursively.
Here
is the pivot element.
two arrays will be created, in first array element less than or equal to pivot element are stored in other elements greater than pivot element are stored.
Starting from first element of array
elements in first array will be ![=[4,0,3,1,2,5]](https://tex.z-dn.net/?f=%3D%5B4%2C0%2C3%2C1%2C2%2C5%5D)
elements in second array will be ![=[6,9,8,7]](https://tex.z-dn.net/?f=%3D%5B6%2C9%2C8%2C7%5D)
Hence the resulting array after the partition finishes are
and ![[6,9,8,7]](https://tex.z-dn.net/?f=%5B6%2C9%2C8%2C7%5D)
Answer: 7 hours left!
Step-by-step explanation:
She had used up 12 hours and 45 minutes. 7 hours and 15 minutes left, but if you're including the minutes, then it's 7 hours and 15 minutes. Good luck! :D
To figure this out, you must use the Pythagorean theorem.
That is were you take the width of the opject, and square it (21 squared). and take the length of the object and square it (28 squared),
then add those together. (21 squared + 28 squared) = NUMBER
then take that number that you got, and find the square root of it. (<span>√NUMBER)
and that's your answer.
So it would be: 35 meters</span>
The ans is B because 3/4=1876 is a proportions