Algorithm and Data structure (Lecture # 3)
Continue.... 6) Searching: Searching means finding of an element or location of an element in a data list or data bubble. - Searching is usually performed using unique key values e.g; A student registration number of his/her makes him/her unique one. - If element to be searched found in the desired list then we say “search successful” otherwise we say search is “Unsuccessful” - Most popular search methods are: o Sequential search/Linear search o Binary search ( searching and sorting algorithms ) 7) Sorting: Re-arranging the elements of a data list or data bubble - The Re-arranging of Re-Ordering can be in ascending order or descending order - ...