인터넷 강의를 들으면서 중요한 내용들을 정리...
------------------------------------------------------------------------------------------------
Course Overview
- Efficient procedures for solving large scale problems
- Scalability
- Class Data Sturucture & Classical Algorithms
- Real Implementation in Python
Content
8 moduels (Including Problem Set)
- Algorithmic thinking : peak finding
- Sorting & trees : Event simulation (logic network)
- Hashing : Genome comparison
- Numerics : RSA encryption
- Graphs : Rubik's cube
- Shortest paths : Clatech -> MIT
- Dynamic programming : Image compression
- Advanced topics :
- Peak finding
One-dimensional version
Peak?
Position 2 is a peak if and only if b >=a and b>= c
In case of edge, you should compare only one element.
Problem : find a peak if it exists.
Straightforward algorithm
start from left
1 2 ... n/2 ... n-1 n
댓글 없음:
댓글 쓰기