Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7406263
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T05:31:51+00:00 2026-05-29T05:31:51+00:00

When we are talking about divide and conquer ,we always use recursion .I’ve already

  • 0

When we are talking about divide and conquer ,we always use recursion .I’ve already known divide and conquer is a technique of algorithm design,but I got one question:

Are all divide and conquer algorithms recursion ,or put it another way ,is the thought of divide and conquer employed in all recursions?

I’m confused .

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T05:31:52+00:00Added an answer on May 29, 2026 at 5:31 am

    If I understand your problem correctly..
    Are all Divide & Conquer algorithms recursive in nature? Yes!

    By definition

    There are three steps to applying Divide and Conquer algorithm in practice:

    • Divide the problem into one or more subproblems.
    • Conquer subproblems by solving them recursively. If the subproblem
      sizes are small enough, however, just solve the subproblems in a
      straightforward manner.
    • Combine the solutions to the subproblems into the solution for the
      original problem.

    But if you are concerned with the implementation part.. then recursion(though more elegant and simple) is not the only way.

    Binary Search is a well-known instance of divide-and-conquer paradigm and here is the Iterative implementation of the algorithm.

    //binary search for x, in array A[1 .. N]
    
    min := 1;
    max := N;
    repeat
      mid := (min+max) div 2;
      if x > A[mid] then
        min := mid + 1;
      else
        max := mid - 1;
    until (A[mid] = x) or (min > max);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Talking about javax.crypto.Cipher I was trying to encrypt data using Cipher.getInstance(RSA/None/NoPadding, BC) but I
I'm obviously not talking about a full solution, but just a good starting point
When verbally talking about methods, I'm never sure whether to use the word argument
I am not talking about the code editor. I have already imported my Visual
I am NOT talking about concatenating elements together, but adding their values to another
I'm not talking about doing a SET NOCOUNT OFF. But I have a stored
I see many people talking about the term SUT, but do not understand why
I'm not talking about if user has visited the website before, but in general
Talking about hibernate and others ORMs, the ORMs evangelists talk about SQL like the
Talking about SimpleModal the jQuery plugin. Most of the time I think it is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.