Ask your own question, for FREE!
Computer Science 17 Online
kekeman:

For which of the following programming tasks is recursion most suitable? Dividing a word list into two equal sublists, sorting, then repeatedly dividing and sorting in this way until the entire list is sorted Generating a list of anagrams from a word, then sorting them repeatedly Inserting a word at a specified location within a list, repeating this process with every specified word until complete Searching for a word within a large set of documents, commenting the word, then repeating

SmokeyBrown:

Recall in the question we tackled yesterday that recursion is suitable for problems that can be solved by breaking large problems into smaller, easily solvable problems. Out of the four options presented, one of them seems to involve breaking down (or "dividing") a large problem into various steps of smaller and smaller problems to make the original large problem easier to solve. Can you see which one that is?

kekeman:

@smokeybrown wrote:
Recall in the question we tackled yesterday that recursion is suitable for problems that can be solved by breaking large problems into smaller, easily solvable problems. Out of the four options presented, one of them seems to involve breaking down (or "dividing") a large problem into various steps of smaller and smaller problems to make the original large problem easier to solve. Can you see which one that is?
Dividing a word list into two equal sublists, sorting, then repeatedly dividing and sorting in this way until the entire list is sorted? Which is A.)

SmokeyBrown:

Yeah, I think that would fit pretty well with the usual use of recursive recursion. So, that seems like a good answer choice :)

kekeman:

Ok thanks for the help

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
Graysonunderwoods: Have you even been beaten by a wet spaghetti noodle by your girlfriend because sh
20 minutes ago 48 Replies 1 Medal
AsianPanda08: What should i eat for dinner tonight? I can't choose
2 hours ago 51 Replies 2 Medals
Nina001: Trying 2 figure out what is the square root of 8746685
52 minutes ago 30 Replies 2 Medals
SnowyBreaks: Is it bad to lose 3.8 pounds in less than 2 days?
1 hour ago 43 Replies 0 Medals
kaelynw: tried a lil smt, the arm is off but i like the other stuff
36 minutes ago 15 Replies 2 Medals
laylasnii13: Who wanna write or make a song with me???
5 hours ago 8 Replies 0 Medals
kaelynw: art igg
13 hours ago 13 Replies 2 Medals
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!