... In computer science, a loop invariant is a property of a program loop that is true before (and after) each iteration 즉, 반복문 이전과 이후에도 항상 참이어야 하는 값인 거죠. void...
태그: 반복문, 알고리즘, 불변식, 정당성, 종만북, 귀납법, 정렬, 문제해결전략, invariant, algorithm
분명 linear, causal, time-invariant에 대해 수업시간에는 다 이해했다고 생각했는데.. 막상 문제를 풀려니 그 간단한 개념으로 어떻게 문제를 풀어야할지 막막하기만...