Files
Main/99 Work/0 OneSec/OneSecNotes/30 Engineering Skills/Robotics/Algorithms/Divide and Conquer.md
2024-12-02 15:11:30 +01:00

1.2 KiB

title, created_date, updated_date, aliases, tags
title created_date updated_date aliases tags
Divide and Conquer 2024-10-22 2024-10-22

Divide and Conquer

This is an algorithm design paradigm, where the main problem is split into sub problems, which then are split into further sub problems to be finally solved on a smaller level and if needed stitched back together to the overall solution. This recursive approach is often used in computer science. Mathematically, the algorithms are often proved to be true by mathematical induction.

Example Algorithms

It can also be used in Computer Vision by first defining interesting Region of Interests s and only running the heavy algorithm on the subpart of the image.

Advantages

  • GPUs can be used to parallelize those subtasks and thus run the process much faster
  • simplification: the problems become simpler to solve
  • Algorithmic efficiency: reduce the big-O notation
  • Memory Access: If the problem is small enough one can use only the computer cache to solve the subproblem, which makes it way faster