Algorithm, part 1
Search algorithm In the Fundamental Information Technology Engineer Examination, thefollowing algorithms tend to be asked.・Search (linear search, binary search, hashing method, etc.)・Sort (quick sort, insertion sort, etc.)・String manipulation (string search, string compression)This time, I will explain about "Search".Searching is the process of finding specific data in a collection of data, suchas an array or file. Here are two typical search methods.(1)Linear searchThis is a method of searching from the beginning (or end) of the array in orderto search for specific data.If the data is found, the search is completed. If you search to the end of thearray and do not find it, then there is no d
0