뇌를 자극하는 알고리즘 - 6. 탐색 : 이진 탐색(Binary Search)
구현 소스 BinarySearch.h #ifndef BINARY_SEARCH_H #define BINARY_SEARCH_H #include #include #include typedef int Element; Element BinarySearch(Element Data[], int Size, Element Target); #endif ---------------------------------------------------------------------------------------- BinarySearch.cpp #include "BinarySearch.h" Element BinarySearch(Element Data[], int Size, Element Target) { int Left, Mid..
Programming/뇌를 자극하는 알고리즘
2010. 10. 21. 23:57
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- Tales of the Float Land
- PtInRect
- 그림 맞추기 게임
- WM_TIMER
- Kinect Programming
- 뇌를 자극하는 알고리즘
- Hash table
- Queue
- Stack
- IntersectRect
- Kinect Game Project
- Linked list
- PackMan
- Data Structures in C
- Farseer Physics
- graph
- 윈도우즈 API 정복
- quick sort
- MFC 예제
- Digits Folding
- SetTimer
- Pixel 색상값으로 구현한 간단한 충돌
- Win32 API
- 열혈강의C
- WM_CONTEXTMENU
- Ice Climber
- WinAPI
- Tree
- 2D Game Project
- Game project
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
글 보관함