Java- Data Structures and Analysis
In relation with recursion, answer the following three questions:
1) What do you consider difficult about recursion?
Do we need mindset change when approaching recursion?
2) Are there problem types that could be better approached in a recursive way instead of an iterative way?
How could we identify them?
3) What elements should be considered to be included in any recursive method?
Discuss these elements using an example (code required) of a recursive method written by you or taken from Web. Try choosing one different from that of any posted thus far.
Be sure to cite sources and comment on other students' posts.