Myblog's Blog

January 26, 2010

Amazon-1-Advantages and disadvantages of recursions

Filed under: Amazon — Tags: , , — technospider @ 12:00 pm

1. Advantages and disadvantages of recursion

Show Answer

advantages

1. Small Manageable Code

2. Sometimes Recursion is only option

3. Code Reuse

Disadvantages:

1. Is mostly depth first- You may run out of memory

2. Is memory intensive

3. Stack Space is used prominently

Advertisement

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Theme: Silver is the New Black. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.