Algorithm Design :- Iterative Approach
1. Define your problem clearly:-
2. :- suppose that some part of problem is solved and
while other not.
3. Partial Solution :-
4. give a procedure that satisfy the following conditions
5. a- It increase the size of the solved part by one
6. b- Take yours assumptions in true state and leave them
7. also in true state
8. c- Repeating it k times will solve the entire problem
تعليقات
إرسال تعليق