a sorting technique to sort an array or we can say to sort a list of many

A sorting technique to sort an array or we can say to

This preview shows page 2 - 3 out of 7 pages.

a sorting technique to sort an array, or we can say to sort a list of many numbers and insertion sort is a sorting algorithm that places the input element at its suitable place in each pass while the merge sort technique is based on divide and conquer technique it will divide the data set into smaller parts and merge them into a larger piece in sorted order. Radix sort works on the integer keys by grouping digits which share the same position and value and lastly counting sort is used to sort objects according the keys that are small numbers. It counts the number of keys whose key values are same. For example 2. What makes binary search faster than sequential search? When can you only use binary search? - Binary search faster because is it has a time complexity of O(log n) and it works by finding the middle element of a sorted array and comparing it to your target element while the sequential search looks for an item in a list using a target value called the key and it only the search begins when the
Image of page 2
Image of page 3

You've reached the end of your free preview.

Want to read all 7 pages?

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Ask Expert Tutors You can ask You can ask ( soon) You can ask (will expire )
Answers in as fast as 15 minutes