• Skip to main content
  • Skip to primary sidebar

Founder at work

Master the skills to create and launch your next SaaS company

  • About Me
  • Reviews
  • Resources
  • Community
  • Contact
  • Lessons
  • Series
  • Search
  • Login

What are divide and conquer algorithms?

November 16, 2013 by Rick Hernandez Leave a Comment

Divide and conquer is algorithmic design pattern, to explained it as quickly as possible without getting too deep into the mathematical proofing and development of this type of algorithms it breaks down as follows.

  1. Divide:
  2. Break down the problem into half that break those half into another half until there is only one element, then solve the problem by
    doing one single comparison and return.

  3. Recurse:
  4. Recursively solve the problem.

  5. Conquer:
  6. Now it’s time to merge them all into one big solution, this where the “popping off the stack” happens for the recursion.

Rick Hernandez

I always had a passion for the field of STEM (Science, Technology, Engineering, and Math) and I knew I wanted to do something to make a difference in the world. I just didn’t know where to start. I was an immigrant in a new country, grew up in a tough environment, and wasn’t sure how… Read More

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)

Related

Filed Under: Algorithms, Design Patterns, Programming

Primary Sidebar

Learn How To Take Your Idea And Convert It Into An App From Scratch Even If You Have Never Written A Single Line Of Code.

  • How to Find Your Next Great App Idea
  • The Secret To Getting PAID To Build Your Own App
  • How To Create Your App (SaaS, Mobile, VR, AR, Game)
  • How To Monetize Your Apps
Learn More
4.82 Ratings

Copyright © 2025 · JSecademy Blog Theme on Genesis Framework · WordPress · Log in