**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 node..

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,105

- Today
- 0

- Yesterday
- 4

**링크**

**TAG**

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