선형탐색은 오름차순이나 내림차순으로 되어 있는 배열 (dictionary나 list)에서 for문을 사용해 목표물이 나올 때까지 찾는 방법배열의 첫번 째 수가 나의 목표물인 경우에는 연산을 단 한번만 하면 된다! 하지만 1000개의 요소가 있는 리스트의 맨큼에 내 목표
Let’s say there is a network that looks like this:node_info = \['makit', 'sy' , 'sophia', 'sieun', 'james', 'howard', 'woojin']By using a two-dimensio
For those of us who use Python as a main computing language, we tend to take the benefits of the List function for granted. It is so easy to use and utilize the List function, and it is also very int...
Selection Sort(선택정렬) 정렬 알고리즘은 대표적으로 네가지가 있다. 선택정렬 버블정렬 삽입정렬 퀵정렬 Selection sort for loop을 두번 돈다. Outerloop의 요소와 Innerloop의 요소의 It has O(n^2