**How to Design - Case by Case**

When designing an algorithm, ask yourself : For which cases does the obvious method work? Then find a new way to tackle the remaining cases! 예제) Find a hamiltonian path through a tournament graph. Using a more-of-input approach, we claim to have a solution while pretending that the nodes we have processed so far is the entire input instance. We want to maintain the Loop Invariant by adding a new..

Comp Sci/Tips
2017.12.18 00:00

**Loop Invariant Practice - Merge() of MergeSort()**

How to Think about Algorithms by Edmonds has good in-depth explanation of how to actually go about thinking about designing algorithms and approaching algorithmic problems. I applied the process to understanding Merge() routine of the MergeSort algorithm.

Comp Sci/Algorithms
2017.11.28 15:19

**공지사항**

**최근에 올라온 글**

**최근에 달린 댓글**

- Total
- 1,072

- Today
- 0

- Yesterday
- 0

**링크**

**TAG**

- #props
- Circuit
- cycle
- degree
- #uncontrolled_components
- Edmonds
- HTTAA
- relation
- #Mutual_Exclusivity
- #BMI
- image
- subgraph
- #Mutual_Exhaustivity
- codomain
- #Combinations
- #Constructive_Counting
- #onChange
- Induction
- Graph
- TIP
- trail
- #Counting
- definitions
- #Circular_Permutations
- #controlled_components
- proof
- Component
- #Permutations
- surjective
- #state