Algorithm Design Techniques in DAA in Hindi
Algorithm Design Technique in Hindi
Algorithm เคे เคฒिเค เคเค right design technique เคो select เคเคฐเคจा เคเค Complex But, เคฌเคนुเคค เคนी Important work เคนै।
เคเคช Programming เคे เคฒिเค เคिเคธी เคญी programming Language เคा Use เคเคฐें เคฒेเคिเคจ algorithm design techniques เคो เคธीเคเคจा important เคนोเคคा เคนै. เค्เคฏोंเคि algorithm design technique เคธเคญी languages เคฎें เคाเคฎ เคฎें เคเคคा เคนै।
เคुเค เคฎुเค्เคฏ Algorithm Design Techniques เคจिเคฎ्เคจเคฒिเคिเคค เคนैं
- Divide and conquer
- Greedy Method
- Dynamic Programming
- Backtracking
- Branch & Bound
- Linear Programming
Divide and Conquer Algorithm Design Technique
divide and conquer เคเคช्เคฐोเค เคฎें, เคเค problem เคो เคोเคे เคोเคे sub-problems เคฎें เคกिเคตाเคเคก เคเคฐ เคฒिเคฏा เคाเคคा เคนै. เคซिเคฐ เคเคธเคे เคฌाเคฆ เคเคจ sub-problems เคो เคเค เคเค เคเคฐเคे solve เคिเคฏा เคाเคคा เคนै เคเคฐ End เคฎें เคธเคญी solutions เคो combine เคเคฐเคे main problem เคा solution Receive เคिเคฏा เคाเคคा เคนै।
Divide and Conquer Algorithm เคฎें เคช्เคฐเคค्เคฏेเค level เคฎें เคจिเคฎ्เคจเคฒिเคिเคค เคคीเคจ steps เคนोเคคे เคนैं:-
- Divide : Main problem เคो sub – problems เคฎें เคตिเคญाเคिเคค เคिเคฏा เคाเคคा เคนै.
- Conquer : sub – problems เคो เคเค เคเค เคเคฐเคे solve เคिเคฏा เคाเคคा เคนै.
- Combine : เคธเคญी sub – problems เคे solutions เคो เคเค เคธाเคฅ mixed เคเคฐ main problem เคे solution เคो Retrieve เคिเคฏा เคाเคคा เคนै।
divide and conquer approach เคो เคจीเคे เคฆिเค เคเค algorithms เคฎें use เคिเคฏा เคाเคคा เคนै
- Binary search
- Quick sort
- Merge sort
- Integer multiplication
- Matrix inversion
- Matrix multiplication
Greedy Method
Greedy method เคा เคเคชเคฏोเค optimization problem ( เค เคจुเคूเคฒเคจ เคธเคฎเคธ्เคฏा ) เคो เคนเคฒ เคเคฐเคจे เคे เคฒिเค เคिเคฏा เคाเคคा เคนै. optimization problem เคตเคน เคนोเคคी เคนै เคिเคธเคฎें เคนเคฎें input values เคा เคเค set เคฆिเคฏा เคाเคคा เคนै, เคिเคธे เคฏा เคคो Increase เคฏा Decrease เคเคฐเคจे เคी เคเคตเคถ्เคฏเคเคคा เคนोเคคी เคนै।
เคเคธ greedy method เคो Complex problems เคฎें apply เคเคฐเคจा เคฌเคนुเคค เคนी Easy เคนोเคคा เคนै. เคฏเคน Decide เคเคฐเคคा เคนै เคौเคจ เคธा step เค เคเคฒे step เคฎें เคธเคฌเคธे เคธเคนी solution เคช्เคฐเคฆाเคจ เคเคฐेเคा. เคเคธे greedy เคเคธเคฒिเค เคเคนा เคाเคคा เคนै เค्เคฏोंเคि เคฏเคน เคนเคฐ step เคชเคฐ เคธเคฌเคธे เค เค्เคा solution Search เคเคฐเคจे เคी เคोเคถिเคถ เคเคฐเคคा เคนै। เคเคธเคฎें เคชเคนเคฒे step เคो เคเคธ เคช्เคฐเคाเคฐ choose เคिเคฏा เคाเคคा เคนै เคि เคตเคน เคคुเคฐंเคค benefit เคฆेเคคा เคนै।
Dynamic programming
Dynamic programming เคเค bottom up approach เคนै, เคเคธเคฎें เคนเคฎ เคธเคญी Possible small problems เคो solve เคเคฐเคคे เคนैं เคเคฐ เคซिเคฐ เคฌเคก़ी problems เคे solution เคो Receive เคเคฐเคจे เคे เคฒिเค เคเคจ्เคนें combine เคเคฐเคคे เคนैं।
divide and conquer method เคे Opposite, dynamic programming เคเค เคฌाเคฐ sub-problems เคे solution เคा เคซिเคฐ เคธे Use เคเคฐเคคा เคนै।
Fibonacci Series เคे เคฒिเค recursive algorithm Dynamic Programming เคा Example เคนै।
Backtracking algorithm in Hindi
Combination related problems เคो solve เคเคฐเคจे เคे เคฒिเค backtracking เคเค optimization Technique เคนै। เคिเคธเคा Use programs เคฎें เคเคฐ real life เคฆोเคจों เคฎें เคिเคฏा เคाเคคा เคนै।
Eight queen problem, Sudoku puzzle And Maze Etc. popular Examples เคนै เคिเคธเคฎें backtracking เคा Use เคिเคฏा เคाเคคा เคนै।
backtracking เคฎें, เคนเคฎ เคเค possible solution เคे เคธाเคฅ Start เคเคฐเคคे เคนैं, เคो เคธเคญी Important conditions เคो Complete เคเคฐเคคा เคนै। เคซिเคฐ เคนเคฎ เค เคเคฒे level เคชเคฐ เคाเคคे เคนैं เคเคฐ เคฏเคฆि เคตเคน level เคธंเคคोเคทเคเคจเค solution เคจเคนीं เคฆेเคคा เคนै, เคคो เคนเคฎ เคเค level เคตाเคชเคธ Reverse เคเคคे เคนैं เคเคฐ เคเค เคจเค option เคे เคธाเคฅ Start เคเคฐเคคे เคนैं।
Branch and Bound algorithm
Branch and Bound algorithm เคฎें เคเค เคฆिเค เคนुเค sub-problem, เคिเคธे bound เคจเคนीं เคिเคฏा เคा เคธเคเคคा เคนै, เคो เคเคฎ เคธे เคเคฎ เคฆो เคจเค restricted sub-problems เคฎें Divide เคिเคฏा เคाเคคा เคนै।
เคฏเคน Algorithm non-convex problems เคฎें global optimization เคे เคฒिเค method เคนैं।
เคเคธเคा เคเคชเคฏोเค depth bounded search เคเคตं depth-first search เคฎें เคिเคฏा เคाเคคा เคนै।
Linear Programming
linear programming เคฎें เคฌเคนुเคค เคธाเคฐें optimization job เคो เคกिเคธ्เค्เคฐाเคเคฌ เคिเคฏा เคเคฏा เคนै เคเคนाँ, optimization criteria เคเคฐ constraints เคฆोเคจों เคฒिเคจिเคฏเคฐ เคซंเค्เคถเคจ เคนोเคคे เคนैं।
เคฏเคน เคธเคฌเคธे เค เค्เคे Result เคช्เคฐाเคช्เคค เคเคฐเคจे เคी เคเค technique เคนै เคैเคธे เคि – maximum profit, shortest path, เค เคฅเคตा lowest cost.
เคเคธ programming เคฎें, variables เคा เคเค set เคนोเคคा เคนै เคเคฐ เคนเคฎें linear equations เคे set เคो satisfied เคเคฐเคจे เคे เคฒिเค absolute Value assign เคเคฐเคจी เคนोเคคी เคนै।
0 Comments