뇌를 자극하는 알고리즘 - 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
- SetTimer
- IntersectRect
- WinAPI
- 2D Game Project
- Data Structures in C
- Kinect Game Project
- Linked list
- 뇌를 자극하는 알고리즘
- Digits Folding
- Win32 API
- Queue
- Farseer Physics
- Hash table
- Game project
- MFC 예제
- graph
- 그림 맞추기 게임
- PtInRect
- Tales of the Float Land
- WM_CONTEXTMENU
- PackMan
- Pixel 색상값으로 구현한 간단한 충돌
- 윈도우즈 API 정복
- Ice Climber
- quick sort
- Tree
- WM_TIMER
- 열혈강의C
- Kinect Programming
- Stack
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함